this should speed up query times on costly routes, such as /api/admin/domains. - tests/test_admin.py: add more validation to test_domain_stats