SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '332e10d2662af8fa28773cb15a86fba64c88b36329e523c79b17ff11554f0789' 
  AND token = 'l2nofGaVDeeDAFHMx8n7bOtopasFkLF4UnJWIN3JcME=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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