Hey Stefan,
It is very difficult for people with higher IQ to stay motivated. They normally have a short concentration ability especially when their jobs are repetitive in nature. Taking a less repetitive job would work miracles for you.
I would recommend you take up a freelance job such as those available on upwork.com or ttps://theessaypro.com.
Taking up freelance jobs, sorted my problems which were similar to yours.