|< < 46 > >|
Since there are no joins, join optimization is not a problem.
So query optimization is similar to the first step of SQL query optimization: Single-table optimization based on one or more indexes.