select a , b , c from test where a = :var1 and ( b = :var2 or c = :var3 )