select foo from bar where baz in (1,2,3) and ( quux = 4 or bar2 = 5 -- running out of funny names )