SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{73f0d8ee82f73088f9f9afa7410778e67544ad338fff00929ec75927969b8e6d}Bad{73f0d8ee82f73088f9f9afa7410778e67544ad338fff00929ec75927969b8e6d}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{73f0d8ee82f73088f9f9afa7410778e67544ad338fff00929ec75927969b8e6d}Bad{73f0d8ee82f73088f9f9afa7410778e67544ad338fff00929ec75927969b8e6d}' OR prCountry = 'Bad') AND (prLocation LIKE '{73f0d8ee82f73088f9f9afa7410778e67544ad338fff00929ec75927969b8e6d}Bertrich{73f0d8ee82f73088f9f9afa7410778e67544ad338fff00929ec75927969b8e6d}' OR prCity = 'Bertrich' OR prZip = 'Bertrich' OR prStreet LIKE '{73f0d8ee82f73088f9f9afa7410778e67544ad338fff00929ec75927969b8e6d}Bertrich{73f0d8ee82f73088f9f9afa7410778e67544ad338fff00929ec75927969b8e6d}' OR prCountry = 'Bertrich') AND (prLocation LIKE '{73f0d8ee82f73088f9f9afa7410778e67544ad338fff00929ec75927969b8e6d}Germany{73f0d8ee82f73088f9f9afa7410778e67544ad338fff00929ec75927969b8e6d}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{73f0d8ee82f73088f9f9afa7410778e67544ad338fff00929ec75927969b8e6d}Germany{73f0d8ee82f73088f9f9afa7410778e67544ad338fff00929ec75927969b8e6d}' OR prCountry = 'Germany')