SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4eec8866052baf52f8ce17d5de0e6043262b2ba168e4b8d5d01a8e88a4ef440' 
  AND token = 'NCSFmPsoSgrD3UXG9mwwzXrpeio/Ij9b19izOqBeOdI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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