SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8fb783c254cbd47ad100dbeeed5884e94fa9737033de9b39038767bdc01227db' 
  AND token = 'ITam+gZZJLdmEzqNEA20ERwLz/fI2CG2nymXmyiOLZ0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00066

JSON explain

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