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