CREATE INDEX `IDX_courses_account_favorite_updated`
  ON `courses` (`api_account_id`, `is_favorite`, `updated_at`);

CREATE INDEX `IDX_courses_account_category_favorite_updated`
  ON `courses` (`api_account_id`, `category_id`, `is_favorite`, `updated_at`);
