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

Query time 0.00041

JSON explain

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