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