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