Cook the elbow macaroni according to package instructions until al dente. Drain and rinse under cold water to cool.
In a large mixing bowl, combine the cooked macaroni, thawed corn, cherry tomatoes, red onion, and cilantro.
In a separate bowl, whisk together the mayonnaise, sour cream, lime juice, chili powder, garlic powder, salt, and pepper until smooth.
Pour the dressing over the pasta mixture and toss until everything is well coated.
If using, sprinkle the cotija cheese on top and gently mix it in.
Cover the salad and refrigerate for at least 30 minutes to allow the flavors to meld.
Serve chilled or at room temperature.