It is always a good idea to keep your databases' tables optimized, making this optimization is quite easy when using the phpMyAdmin tool available in cPanel:
Log in to the cPanel account that owns the database.
Select the phpMyAdmin icon.
Select the database name from the sidebar on the left.
At the bottom of the list of tables mark the checkbox next to "Check All".
To the right of that checkbox look for the dropdown menu and select "Optimize Table".
Sometimes this optimization can make significant improvements to the speed of the database, and other times it may not make any difference. The result depends on the particular database.