SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}Bad{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}Bad{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}' OR prCountry = 'Bad') AND (prLocation LIKE '{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}Oeynhausen{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}' OR prCity = 'Oeynhausen' OR prZip = 'Oeynhausen' OR prStreet LIKE '{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}Oeynhausen{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}' OR prCountry = 'Oeynhausen') AND (prLocation LIKE '{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}/{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}/{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}' OR prCountry = '/') AND (prLocation LIKE '{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}Dehme{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}' OR prCity = 'Dehme' OR prZip = 'Dehme' OR prStreet LIKE '{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}Dehme{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}' OR prCountry = 'Dehme') AND (prLocation LIKE '{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}Germany{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}Germany{35d8b1c79c2949704ccfa2fac4ec1521f41a200fc115ee61c28fa3098bde2afe}' OR prCountry = 'Germany')