When a MySQL or MariaDB server suddenly feels slow, this is the first thing I run.
mysql -e 'SHOW FULL PROCESSLIST'
mysql -e 'KILL QUERY 4211'
Without FULL the Info column is cut off after 100 characters, which is rarely enough to recognise a query. Look at the Time column for statements that have been running for minutes, and at State for things like Waiting for table metadata lock.
KILL QUERY id stops the running statement but keeps the connection open, while a plain KILL id drops the connection too. You only see other users’ threads if your account has the PROCESS privilege.
Further reading: MySQL Reference Manual: SHOW PROCESSLIST