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

Query time 0.00038

JSON explain

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