Activate the creature with Elemental Mastery attached by tapping it, creating a number of 1/1 Elemental creature tokens with haste equal to its power.
Activate Altar of Dementia by sacrificing an Elemental.
When the Elemental dies as an artifact due to Mycosynth Lattice, Dross Scorpion triggers, untapping the creature with Elemental Mastery attached.
Resolve the Altar of Dementia ability.
Repeat.
This dizzying loop transforms any creature enchanted with Elemental Mastery into an endless token-generating engine, fueled entirely by the pervasive influence of Mycosynth Lattice. Because the Lattice turns every permanent on the battlefield into an artifact, every haste-granting Elemental token you sacrifice to Altar of Dementia registers as an artifact death. That death instantly triggers Dross Scorpion, allowing you to untap your creature with Elemental Mastery and repeat the process for an infinite mill of your opponents' libraries.