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