Getting through work..

I know I need to create value at work. If I deliver more, the chance of me getting a raise and more flexible time off that I desire is good. However, since coming back to the office after working from home due to the pandemic, I’m having a hard time getting work done. My boss had done some questionable things and I’ve been thinking: I don’t want to be here, I want another job, I’m currently here and need to make the best of it and if I create value great things will come. How can I put myself in a mindset to get motivated? Neutral thoughts? I want to create the value to get the rewards but I’m having such a hard time. I’m trying to get through 20 minutes of interrupted work at a time but I feel myself wandering off.