My very simplified answer: Keep your eyes and mindset on the end goal, don't let the daily BS get you worked up. Yes you have to do your job and still be contributing. It does not mean you have to let the office politics and personalities dictate your response to those factors.
Just provide your input for the job, be willing to say your mind (very liberating once you are FI), and be mindful of your end goal of retirement and a better quality of life in 3 years.
The key here is not let your response to the work influences have such drastic affect on your current quality of life.
I used to have a handle on life....... but it broke!
Semi-Retired 7/1/16: working part-time (60%) for now