I have this resquest bellow And I would like to know if there are ways to optimise the time processing of it ?

```
var relevantQuantities2 = AllOrders
                                .GroupBy(item => new {item.CreatedTime, item.Quantity})
                                .Where(group => group.Any(item => item.Tag == "Name1") &&
                                                group.Any(item => item.Tag == "Name2"))
                                .OrderByDescending(item => item.Key.CreatedTime).Take(1)
                                .Select(g => g.Key.Quantity).FirstOrDefault();

```