SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6874f9a0a2eb52e9f0587500daa1a5911260f1034975bcc383be9017d9498141' 
  AND token = 'odr1ZPrRc3fUa3TkAMiRu9S5PdzFWitlTfq491cEhWE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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