I don't know of a single case (and don't believe anyone can point to one) where people have been arrested for simply criticising politicians. Has the number of incidents risen over recent years? Yes, and while this might be partly explained by stricter legal approaches, I suspect it's much more to do with a drastic rise in far-right activity and a consequent feeling among many that they can now say/do whatever they like with impunity (including making threatening and inflammatory remarks about minorities, and so on).
https://sentencingcouncil.org.uk/resources/common-offences/a...
That is by no means the only crime that is committed subjectively.
I agree that the UK has far too many laws that are more subjective than they ideally should be, but they do at least attach some level of observable and knowable process.
I only know about the UK, but this is not really true there.
Your speech has to be obviously threatening or abusive, and obviously motivated by prejudice towards one of a few categories (disability, race, religion, gender identity or sexual orientation are the main ones).
If you don't make threatening or abusive remarks towards these groups, you aren't breaking the law.