Using binary column in where clause