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

Query time 0.00038

JSON explain

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