Instead of 4 loops, how can I do it better?

Have a look at the category parameters of WP_Query