You cannot obtain the Mystic Ticket through normal gameplay. It was only distributed for *Pokémon Emerald*, *FireRed*, and *LeafGreen* via Nintendo events (2004–2005) in Japan/US.
The Secret Key (post-game, Pokémon Fan Club in Vermilion City → trivia quiz) unlocks Secret Bases for decoration and battles.