As a general rule, try to avoid "OR" constructs.
Specifically, replace "
ou.name = 'Promise Checks' or ou.name = 'Global Account'" by "
ou.name IN ('Promise Checks','Global Account')"
and "
rh.dun_bus_unit ='HBS' or rh.dun_bus_unit = 'Both')" by "
rh.dun_bus_unit IN ('HBS','Both')"
B.T.W., does somebody know whether the v8 or v9 optimiser performs this conversion (from "f=v1 or f=v2" to "f IN (v1,v2)") by itself?
AFAIK, v7 did not yet do this.