In a large mixing bowl, combine the cream of mushroom soup, sour cream, mayonnaise, garlic powder, onion powder, paprika, pepper, and salt. Stir until smooth. Fold in the shredded cheddar cheese, chopped onion (if using), and steamed broccoli until everything is evenly coated in the creamy mixture.