SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f2c497707b9d834e1348d31a965ea6903c181a445b65b7904dae598cfde5b3b' 
  AND token = 'tStfpooRaM5k96C5rXA57ecdLec0JgIUWD+ctJYtfho=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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