There has been a lot of work on the performance of scene queries for the 5.1 release. This should not be the case any more.