Nitpick: doing `$query->where( ... )` repeatedly will combine with previous conditions using `AND`, so you can avoid caching the expression.