SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec1728f5f42ad1a67cc5d42edbfedd2dc71bde5242e8e8cec2fa08df23bf665a' 
  AND token = 'dnsTlKBezW8XsZXn6BQvVEngHwpogot5c6F9dZq7S7M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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