What is this plane flying in overlapping circles pattern doing?
It's acting as a television broadcast relay for the 2020 Tour de Wallonie cycling race, taking place in Belgium from August 16 through August 19.

The flight paths you posted correspond roughly to the race routes for stage 2 (August 17, Frasnes-lez-Anvaing to Wavre) and stage 3 (August 18, Montzen to Visé).


Here you can see a photo of what one of these broadcast planes looks like, with retractable underbelly antenna: