Mariadb 10.1.37 on debian 9 repeatedly reading the same query randomly

I have a big problem with a heavily used mariadb example.
A buffer request is read multiple times randomly, creating duplicate entries at exactly the same time.
How could I diagnose the source of the problem?
Is there a diary I could use?

Thank you for your help !!!