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