add index on user_id for karma_points, add cache column for karma points sum, add after create callback to update cache when karma_points table is updated