Hello,
You may be able be able to follow the approach outlined in the documentation to filter out some of the tasks but if you are concerned about performance have you considered using something more lightweight like REST or integrating your application or using the API outside of Kentico?
Please let me know if you have any additional questions or concerns.
Best Regards,
Sandro