Heat olive oil in a large skillet over medium heat.
Add the chopped onion and cook until translucent.
Stir in the minced garlic and cook for another minute.
Add the ground beef and pork, cooking until browned and crumbled.
Mix in paprika, ground cumin, black pepper, and salt.
Stir in the black olives, raisins, and chopped hard-boiled eggs.
Pour in the beef broth and let the mixture simmer for 5-10 minutes, until slightly thickened. Remove from heat.
In a saucepan, cook the corn kernels in a small amount of water until tender. Drain well.
Blend the cooked corn with milk, butter, sugar, salt, and black pepper until smooth. You can use a food processor or blender.
Stir in the grated cheese if using.
Preheat your oven to 375°F (190°C).
In a baking dish, spread the meat filling evenly.
Top with the corn mixture, spreading it out evenly over the filling.
Place the baking dish in the preheated oven and bake for 30-40 minutes, or until the corn topping is golden and slightly crisped.
Allow the Pastel de Choclo to cool slightly before serving.
Enjoy your meal!