SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{a96a21face3487a42db7fc03bf342692020438e3d583bf2c9cc3641a05850b59}Freigericht{a96a21face3487a42db7fc03bf342692020438e3d583bf2c9cc3641a05850b59}' OR prCity = 'Freigericht' OR prZip = 'Freigericht' OR prStreet LIKE '{a96a21face3487a42db7fc03bf342692020438e3d583bf2c9cc3641a05850b59}Freigericht{a96a21face3487a42db7fc03bf342692020438e3d583bf2c9cc3641a05850b59}' OR prCountry = 'Freigericht') AND (prLocation LIKE '{a96a21face3487a42db7fc03bf342692020438e3d583bf2c9cc3641a05850b59}Germany{a96a21face3487a42db7fc03bf342692020438e3d583bf2c9cc3641a05850b59}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{a96a21face3487a42db7fc03bf342692020438e3d583bf2c9cc3641a05850b59}Germany{a96a21face3487a42db7fc03bf342692020438e3d583bf2c9cc3641a05850b59}' OR prCountry = 'Germany')