SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{3a339f82803dacc25e55c07fb38cada56632557c1d6ae3314e943e2844d011d3}Staufenberg{3a339f82803dacc25e55c07fb38cada56632557c1d6ae3314e943e2844d011d3}' OR prCity = 'Staufenberg' OR prZip = 'Staufenberg' OR prStreet LIKE '{3a339f82803dacc25e55c07fb38cada56632557c1d6ae3314e943e2844d011d3}Staufenberg{3a339f82803dacc25e55c07fb38cada56632557c1d6ae3314e943e2844d011d3}' OR prCountry = 'Staufenberg') AND (prLocation LIKE '{3a339f82803dacc25e55c07fb38cada56632557c1d6ae3314e943e2844d011d3}Germany{3a339f82803dacc25e55c07fb38cada56632557c1d6ae3314e943e2844d011d3}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{3a339f82803dacc25e55c07fb38cada56632557c1d6ae3314e943e2844d011d3}Germany{3a339f82803dacc25e55c07fb38cada56632557c1d6ae3314e943e2844d011d3}' OR prCountry = 'Germany')