Preheat oven to 350F
In a blender, combine the corn, condensed milk, evaporated milk, 1/4 cup oil, egg, baking powder, 1 tsp salt, 1 tsp pepper and cayenne; blend until most of the kernels are liquified - do not blend until the mixture is completely smooth, you're looking for some texture. Stir in the mozzarella with a spatula
Heat a medium, oven-safe skillet over medium-high. Add remaining 1 tbsp oil and onion with a large pinch of salt. Cook until soft, about 10-20 minutes
Add ground beef, season with a large pinch of salt and pepper, and cook, occasionally stirring, until ground beef is deeply brown, 8 to 10 minutes. Use a sturdy wooden spoon or whisk to break up the meat as it cooks. Drain off any excess fat and return to heat
Add the garlic, paprika and cumin, and cook, constantly stirring, until fragrant, about 1 minute. Stir in the raisins; season with salt and pepper to taste. Add 1/2 cup of water and scrape up any bits from the bottom of the skillet. Bring to a simmer and taste again. Adjust seasoning with salt and pepper as needed
Spread the beef mixture into an even layer and spread the corn mixture on top, spreading it out to cover the beef mixture evenly. Bake until the top is golden brown and feels firm to the touch, 45 to 55 minutes. Let rest for at least 10 minutes before serving in shallow bowls