Typically program runs efficiently, but when optimization is needed - you can do it by breaking up the predicate.