Bring a large pot of lightly salted water to a boil. Add pasta and cook for 8 to 10 minutes or until al dente; drain and rinse pasta in cold water. Place in a large mixing bowl and add dressing and salt; mix well.
Combine pinto beans and black beans in a colander; rinse with cold water and add to pasta. Add corn, tomatoes, cumin, chili powder, onion powder, garlic powder, dried red pepper flakes and salt and pepper to taste; toss lightly.