Using the Processlist option, you can change the color code of currently running queries. This depends on their execution time.
Users can change the Processlist option by using the user Preferences screen, choose Tools > Preferences > Processlist color settings.
A new window will display where we can set the time for currently running queries in non-decreasing order and subsequently change the color by clicking on 'Change' button where it displays color table. Please refer Sorting and Color coding for more information.