I know this might not be an option though. So some things that help me to do tasks that I hate doing is to break things up. Set a small goal, accomplish that, and then take a break. Go for a quick walk or grab a snack or read something. Rinse and repeat. Slow and steady wins the race. Eventually the larger task is done. And while you're doing the smaller task, try not to get distracted. Manage your distractions and just let yourself get distracted in your breaks. You can take a lot of breaks lol.
I also find that doing random things to make myself happy let's me enjoy my time working a little more. Like having some nice snacks at my desk, or wearing really comfy clothing, or listening to good music. Then I'm not just wishing I could be done, because at least I'm eating these snacks.
I've been here. It sucks. I really would suggest trying to find a job you like doing a little more. Good luck!