SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{4a797615e40617b25eca3c9000ae8fd88eedb1bae9f69c30eb2d675eab09d16a}Stolberg{4a797615e40617b25eca3c9000ae8fd88eedb1bae9f69c30eb2d675eab09d16a}' OR prCity = 'Stolberg' OR prZip = 'Stolberg' OR prStreet LIKE '{4a797615e40617b25eca3c9000ae8fd88eedb1bae9f69c30eb2d675eab09d16a}Stolberg{4a797615e40617b25eca3c9000ae8fd88eedb1bae9f69c30eb2d675eab09d16a}' OR prCountry = 'Stolberg') AND (prLocation LIKE '{4a797615e40617b25eca3c9000ae8fd88eedb1bae9f69c30eb2d675eab09d16a}(Rheinland){4a797615e40617b25eca3c9000ae8fd88eedb1bae9f69c30eb2d675eab09d16a}' OR prCity = '(Rheinland)' OR prZip = '(Rheinland)' OR prStreet LIKE '{4a797615e40617b25eca3c9000ae8fd88eedb1bae9f69c30eb2d675eab09d16a}(Rheinland){4a797615e40617b25eca3c9000ae8fd88eedb1bae9f69c30eb2d675eab09d16a}' OR prCountry = '(Rheinland)') AND (prLocation LIKE '{4a797615e40617b25eca3c9000ae8fd88eedb1bae9f69c30eb2d675eab09d16a}Germany{4a797615e40617b25eca3c9000ae8fd88eedb1bae9f69c30eb2d675eab09d16a}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{4a797615e40617b25eca3c9000ae8fd88eedb1bae9f69c30eb2d675eab09d16a}Germany{4a797615e40617b25eca3c9000ae8fd88eedb1bae9f69c30eb2d675eab09d16a}' OR prCountry = 'Germany')