Optimize part to get subscriptions in backend