def METHOD_NAME(self, request):
    qs = super().METHOD_NAME(request)
    qs = qs.prefetch_related(
        Prefetch(
            'base_objects',
            queryset=BaseObject.objects.distinct().select_related(
                'configuration_path',
                'configuration_path__module',
                'service_env',
                'service_env__service',
                'service_env__environment',
            )
        )
    )
    return qs