SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9caf513fd9f0a761aadced7d8f60cce84bfec2662af3684c3ee2a9d1cd8b0fd3' 
  AND token = 'K5s1u/EVkinp/Xsd9VAupRFSGxU7t0JdrrTnihu/vrk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}