Preheat your oven to 375°F (190°C). Lightly grease a 9 × 13-inch baking dish with olive oil or cooking spray and set it aside.
Heat olive oil in a large skillet over medium heat. Add the diced onion and red bell pepper. Cook for 4–5 minutes, stirring occasionally, until the vegetables begin to soften. Add the minced garlic and cook for another 30 seconds until fragrant.
Stir in the black beans, sweet corn, and drained diced tomatoes. Add the cumin, chili powder, smoked paprika, salt, and black pepper. Mix everything well and cook for 2–3 minutes so the vegetables and beans absorb the seasonings.
Add the cooked rice and tomato salsa to the skillet. Stir gently until everything is evenly combined. Add 1 cup of shredded cheddar cheese and half of the chopped cilantro. Mix again until the cheese is distributed throughout the rice mixture.
Spoon the Mexican rice mixture into the prepared baking dish. Spread it into an even layer using the back of a spoon. Sprinkle the remaining ½ cup of shredded cheddar cheese over the top.
Cover the baking dish loosely with aluminum foil and bake for 15 minutes. Remove the foil and bake for another 8–10 minutes, or until the cheese is completely melted and the casserole is heated through.
Remove the casserole from the oven and let it rest for about 5 minutes. Sprinkle fresh cilantro over the top. Add your favorite toppings, such as avocado, sour cream, or sliced jalapeños. Serve warm.