SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bcfd6aca29bdd7a10ba0ebac5c54cb50f1368bfd97e6f011c781a3e11e3cbd7d' 
  AND token = 'okp+YgwhK4k9IweL9yMA62n4Mn3YKpTjHYwgfoF/pEI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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