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

Query time 0.00046

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}