SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}Dielheim{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}' OR prCity = 'Dielheim' OR prZip = 'Dielheim' OR prStreet LIKE '{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}Dielheim{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}' OR prCountry = 'Dielheim') AND (prLocation LIKE '{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}/{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}/{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}' OR prCountry = '/') AND (prLocation LIKE '{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}Horrenberg{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}' OR prCity = 'Horrenberg' OR prZip = 'Horrenberg' OR prStreet LIKE '{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}Horrenberg{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}' OR prCountry = 'Horrenberg') AND (prLocation LIKE '{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}Germany{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}Germany{bd5d2c93c1416537240c5ac16f951aee353736ecc267a61b9dbca02375abd471}' OR prCountry = 'Germany')