Husk the corn. Place it in a large pot on the stove, add water, and boil it until the kernels turn a dark yellow. It will take about 5 minutes after the water comes to a boil.
Remove the ears of corn, dry, and set aside. Drain the water out of the pan and dry it out with a paper towel.
Select a large frying pan, one that is large enough for your ears of corn to fit the bottom of the pan. Put the pan on the stove on medium heat. Add the butter, mayonnaise, tajin, and the pepper.
Whisk the ingredients together until the butter is melted and the mayonnaise is whisked in.
Add the ears of corn to the pan. Spoon the butter sauce over the corn and let it lightly fry. Cook until the ears have been fully coated in the butter mixture.
Remove from the heat and serve immediately.