Hi Filippo, I have noticed a similar behaviour. However, the behaviour has improved significantly (at least for me) and in recent versions of libkf5globalaccel-bin the CPU bursts after connecting e.g. a mouse with a USB connector are only relatively short (a couple of seconds maybe depending on your machine).
Could you try to run a recent KDE stack with testing or unstable and see if the issue is still as bad ? For some people, the issue was apparently caused by ~/.Xmodmap. Can you check whether you have such a file ? Thank you. -- Med vänliga hälsningar Patrick Franz