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