Preheat the oven to 400 degrees F.
Coat the wells of a muffin tin with cooking spray.
In a medium bowl, add the corn muffin mix, the corn, the sour cream, the butter, and the eggs and whisk until evenly combined.
Using a medium ice cream scoop, scoop the batter into the prepared muffin tin.
Bake the corn muffins until golden on top, about 15 minutes.
While the muffins are still warm, coat the bottom of a shot glass with cooking spray.
Quickly press the prepared shot glass down into the center of each of the muffins to create cups.
Allow the muffin cups to cool in the muffin tin.
In a skillet over medium heat, add onions and cook until translucent, about 2-3 minutes.
Add the salt, the pepper, the cumin, and the chili powder and cook, while stirring, until the onions are soft, about 3 minutes.
Add the garlic and cook until fragrant, about 1 minute.
Add the ground beef and cook, while crumbling the meat, until it is no longer pink, about 5-7 minutes.
Season the beef with the salt and the pepper.
Drain the excess grease from the skillet.
Switch the oven to the broil setting.
Evenly fill the muffin cups with the beef mixture.
Eveny top the beef mixture with the cheddar cheese and the Monterey Jack cheese.
Evenly spoon the enchilada sauce over the cheese layer.
Broil until the cheese begins to brown, about 5 minutes.
Serve topped with the cilantro.