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