SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd47c18af18a1bc315e7544c6c2cbb8bf5331a678d977ce980289d4a366a17414' 
  AND token = 'KIBWWFQiOWCRmm1TuVv94vUz2JGyrUgyB1igGTykK78=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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