SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{8d83ebadf7530fce8ce781ff1b95b28bd5031bc5f64f20dcfb3033ae59a40f96}Massing{8d83ebadf7530fce8ce781ff1b95b28bd5031bc5f64f20dcfb3033ae59a40f96}' OR prCity = 'Massing' OR prZip = 'Massing' OR prStreet LIKE '{8d83ebadf7530fce8ce781ff1b95b28bd5031bc5f64f20dcfb3033ae59a40f96}Massing{8d83ebadf7530fce8ce781ff1b95b28bd5031bc5f64f20dcfb3033ae59a40f96}' OR prCountry = 'Massing') AND (prLocation LIKE '{8d83ebadf7530fce8ce781ff1b95b28bd5031bc5f64f20dcfb3033ae59a40f96}Germany{8d83ebadf7530fce8ce781ff1b95b28bd5031bc5f64f20dcfb3033ae59a40f96}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{8d83ebadf7530fce8ce781ff1b95b28bd5031bc5f64f20dcfb3033ae59a40f96}Germany{8d83ebadf7530fce8ce781ff1b95b28bd5031bc5f64f20dcfb3033ae59a40f96}' OR prCountry = 'Germany')