fix: eager query for pages retrieval (from 994 queries to 4)