In Clojure I would normally use something like:
(if
(and (= a something) (= b anotherthing))
(foo))
It is clearly possible to be more concise (e.g. Doug's answer) but I think this approach is more natural for people to read - especially if future readers of the code have a C++ or Java background!