SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd21afeb8488397862dc8880eac445cc03da9c8a3699e5463cdd36ea21dee5906' 
  AND token = 'J7zszDakQWr44Vho2mOcve5xRitNlBP0U+Heh0l1XPU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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