SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{50a43653792a339e99d543fa02abf66f9ac96c5f5bfbaf64765eada19a34e845}Sankt{50a43653792a339e99d543fa02abf66f9ac96c5f5bfbaf64765eada19a34e845}' OR prCity = 'Sankt' OR prZip = 'Sankt' OR prStreet LIKE '{50a43653792a339e99d543fa02abf66f9ac96c5f5bfbaf64765eada19a34e845}Sankt{50a43653792a339e99d543fa02abf66f9ac96c5f5bfbaf64765eada19a34e845}' OR prCountry = 'Sankt') AND (prLocation LIKE '{50a43653792a339e99d543fa02abf66f9ac96c5f5bfbaf64765eada19a34e845}Andreasberg{50a43653792a339e99d543fa02abf66f9ac96c5f5bfbaf64765eada19a34e845}' OR prCity = 'Andreasberg' OR prZip = 'Andreasberg' OR prStreet LIKE '{50a43653792a339e99d543fa02abf66f9ac96c5f5bfbaf64765eada19a34e845}Andreasberg{50a43653792a339e99d543fa02abf66f9ac96c5f5bfbaf64765eada19a34e845}' OR prCountry = 'Andreasberg') AND (prLocation LIKE '{50a43653792a339e99d543fa02abf66f9ac96c5f5bfbaf64765eada19a34e845}Germany{50a43653792a339e99d543fa02abf66f9ac96c5f5bfbaf64765eada19a34e845}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{50a43653792a339e99d543fa02abf66f9ac96c5f5bfbaf64765eada19a34e845}Germany{50a43653792a339e99d543fa02abf66f9ac96c5f5bfbaf64765eada19a34e845}' OR prCountry = 'Germany')