The total ping time seems reasonable for Fioptics FTTH.
I would not expect Teamviewer to make the difference between expected 30 Mbps down and ~3 Mbps - but best to check again with cleanest system / fewest elements in play.
It is always possible that you have an intermittent fault....