I usually check Telegram, Twitter, News, YouTube and some other sites for 5-10 minutes every 2-3 hours during work. It's sometimes every 1-2 hours if the task is boring. I used to be able to focus a bit longer but clearly my excessive dependence of social media has exacerbated it.