Rewrite the part of the code containing the subquery into this:
AND co_strgp.nm_strgp in(
( SELECT nvl( :brandName,co_strgp.nm_strgp )
FROM co_strgp
WHERE id_strgp_lv='2'
AND id_strgp in
(SELECT DISTINCT id_strgp
FROM st_str_hry
WHERE id_str_rt in
(SELECT DISTINCT id_str_rt
FROM NBTY_TR_LTM_AER_RTN)))));