Postgresql Explain Nested Structure