SELECT 
  1 
FROM 
  tmall_lock_keys 
WHERE 
  key_id = '465a1e54b2a98aae903124e9ffd014ba14ba33c117a39bb1f1afdf47b574a4a4' 
  AND token = '7ACJtDZCu8PLofww0BQ+eOocUIxDQS7lDNtTpE9k/8U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00756

JSON explain

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