Hi, these could mean a lot of different things unfortunately. Mostly related to contention issues. Check show engine innodb status to see if anything stands out. Also I suggest installing PMM if you get a chance, having metrics will help you find out where is the problem more effectively.
Ok from the output it seems you have some uncomitted transactions from long ago. I suggest dealing with that problem first, it is possible it is related to the checking permissions issue