In a large pot or Dutch oven, melt the butter over medium heat. Add the onion and cook for 3 to 4 minutes, stirring occasionally, until softened. Add the garlic and cook for another 30 seconds.
Whisk in the flour and dry mustard powder. Cook for 2 to 3 minutes, stirring constantly, until smooth and bubbly.
Slowly whisk in the chicken broth until smooth. Bring to a gentle simmer and cook for 3 to 5 minutes, stirring frequently, until the broth begins to thicken.
Add the broccoli, shredded carrots, salt, and pepper. Reduce the heat to medium-low, cover, and simmer for 10 to 15 minutes, stirring occasionally, until the vegetables are tender.
Stir in the half-and-half and heat gently for 2 to 3 minutes, until warmed through. Do not boil.
Remove the pot from the heat. Gradually stir in the cheddar cheese, one handful at a time, stirring until melted before adding more. Stir in the Parmesan cheese until fully incorporated and the soup is smooth and creamy.
Taste and add more salt and pepper as needed. If the soup is too thick, stir in a little more chicken broth until it reaches your desired consistency. Serve warm.