SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cdfe301f4ebb9fdbc8c85c676e2de398aed03011b0e04f837dd8345a53777d7b' 
  AND token = 'q98eqKzovdsmGvkM+p5zJ3t1j9QF7M76Uz1I0IO88kQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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