SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e2d09254d548e770d2a7dac19a9ea00da7acdae5b2f2ba2661c1c9f298756252' 
  AND token = 'NJ1a6Ma/jJSoMjtkXbgvGbW4N3KC0iiFhvJwL8MH29k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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