The mag 5 is probably fine for the UV, and the 7 for the filter. By the time you lose flow from going up 2 feet and due to internal friction, you are probably around 500gph. You can always check it using a bucket and a calculator.