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