Optimize /api/team/all endpoint
Sometimes, the Teams page doesn't load because of this endpoint timing out. It seems to be an issue with our integrations (Discord/osu!) cache. Cron tasks (#2 (closed)) should help tackling this, but we may still wanna look into optimizing this further.