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

Query time 0.00027

JSON explain

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