SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{064d6731e4384e81b4cce6f550b37a9ac96aaff821802ade143c19365d81f0be}Lamspringe{064d6731e4384e81b4cce6f550b37a9ac96aaff821802ade143c19365d81f0be}' OR prCity = 'Lamspringe' OR prZip = 'Lamspringe' OR prStreet LIKE '{064d6731e4384e81b4cce6f550b37a9ac96aaff821802ade143c19365d81f0be}Lamspringe{064d6731e4384e81b4cce6f550b37a9ac96aaff821802ade143c19365d81f0be}' OR prCountry = 'Lamspringe') AND (prLocation LIKE '{064d6731e4384e81b4cce6f550b37a9ac96aaff821802ade143c19365d81f0be}Germany{064d6731e4384e81b4cce6f550b37a9ac96aaff821802ade143c19365d81f0be}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{064d6731e4384e81b4cce6f550b37a9ac96aaff821802ade143c19365d81f0be}Germany{064d6731e4384e81b4cce6f550b37a9ac96aaff821802ade143c19365d81f0be}' OR prCountry = 'Germany')