Prepare the spices & seasonings: Heat a small skillet over medium-high heat. Add Sichuan peppercorns, black peppercorns, coriander, cumin, and toast, stirring constantly, until fragrant, about 1 minute. Blitz in a spice grinder until fine and pour into a medium heat-proof bowl. Add ginger, chili flake, cayenne, cinnamon, star anise, salt, sugar, and MSG (if using) to bowl as well and set aside.
Set yourself up: Line a large plate or medium sheet tray with paper towels. Set a wire mesh strainer over a second medium heat-proof bowl.
Fry the shallots: Combine the oil and shallots in a medium saucepan over medium-high heat and cook, stirring constantly. Once all the shallots are evenly light golden brown, immediately strain through the mesh strainer, collecting the shallot oil in the bowl below. Quickly spread the shallots onto the paper towel lined plate or sheet tray.
Fry the garlic: Pour the oil back into the pot, add the sliced garlic, and cook over medium heat, stirring constantly. Once all the garlic slices just begin to show hints of light golden brown, immediately strain through the mesh strainer, collecting the garlic oil in the bowl below. Quickly spread the garlic chips onto the paper towel lined plate or sheet tray.
Fry the nuts & seeds: Pour the oil back into the pot, add the peanuts and sesame seeds, and cook over medium-high heat, stirring constantly, until lightly golden brown. Pour the hot oil, nuts, and seeds directly over the bowl of spices, stirring well to evenly bloom all the spices. Let cool fully at room temperature.
Bring it all together: Once cool, remove the cinnamon stick and star anise. Add the shallots and garlic, stirring to combine. Store in a tightly sealed container in the refrigerator for 3 months. Stir well before each use.
Don’t want to spend all day in the kitchen? Break up this recipe:
Day 1 - Peel, slice, and fry the shallots
Day 2 - Peel, slice, and fry the garlic in the reserved shallot oil
Day 3 - Toast and grind the spices, fry the peanuts and sesame in the reserved shallot/garlic oil, and bring it all together