SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4a17c6b78bab001e1a1543da849729695433d1e37f16815d8b42d099a99622e' 
  AND token = 'PQWp2rzi6UdBCn8r8lnUvQ8aYu+EGrmvh2caYBavu1k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}