SELECT 
  1 
FROM 
  tmall_lock_keys 
WHERE 
  key_id = 'cdd4beb2810a483b2d20b1deb94eee5b32c169c50d6ecf73fcb49b3005abc935' 
  AND token = 'Y8y7SwN1M79riSdI/LVaeTi/kQXnsK3m9NXArlPWyAY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00920

JSON explain

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