Keep scrollable cursors to speedup queries

XXX The solution is not safe or scalable but task criteria
was execution speed.