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