SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{17d962ab544c70bd71f4c783d911e702f80586b2340d7be345087462b5a7aad6}Vorderweidenthal{17d962ab544c70bd71f4c783d911e702f80586b2340d7be345087462b5a7aad6}' OR prCity = 'Vorderweidenthal' OR prZip = 'Vorderweidenthal' OR prStreet LIKE '{17d962ab544c70bd71f4c783d911e702f80586b2340d7be345087462b5a7aad6}Vorderweidenthal{17d962ab544c70bd71f4c783d911e702f80586b2340d7be345087462b5a7aad6}' OR prCountry = 'Vorderweidenthal') AND (prLocation LIKE '{17d962ab544c70bd71f4c783d911e702f80586b2340d7be345087462b5a7aad6}Germany{17d962ab544c70bd71f4c783d911e702f80586b2340d7be345087462b5a7aad6}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{17d962ab544c70bd71f4c783d911e702f80586b2340d7be345087462b5a7aad6}Germany{17d962ab544c70bd71f4c783d911e702f80586b2340d7be345087462b5a7aad6}' OR prCountry = 'Germany')