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