The loadPlanItemAndDescendants and bulkIngredients operations do many by-id queries for ingredients, rather than a single bulk query. Need a data loader or something.
The plan item queries could be better as well, but they're nothing compared to the ingredient queries.