Print paragraph if it contains AAA and BBB and CCC (in any order).
sed -e '/./{H;$!d;}' -e 'x;/AAA/!d;/BBB/!d;/CCC/!d'
NOTE: HHsed v1.5 must insert a 'G;' after 'x;'