Use partial indexes for the pyramid table

This basically gives us a gist index for each resolution