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