You can try and use Ryzen Master to configure your processor to run faster.
In BIOS there should be a couple or more settings to automatically overclock your processor like enabling Precision Boost (PBO) unless it is already on Auto or Enabled.
This will let the processor boost to it maximum speed only when it is needed.
from a previous AMD Forum thread concerning something similar to your problem: https://community.amd.com/t5/processors/ryzen-5600x-apply-ryzen-master-settings-to-bios/td-p/548398
Found this tech site on how to run the 5600x at a high frequency: https://www.hardwaretimes.com/amd-ryzen-5000-pbo-auto-overclocking-4-85ghz-on-the-5600x/
We were curious how PBO and Auto-Overclocking perform with Zen 3, so we tested a bunch of games and content creation benchmarks, and found some interesting results. These features do behave differently, more effectively with Zen 3. The Ryzen 5 5600X offers a single-core boost of 4.85GHz with auto-overclocking, an increase of 250MHz over the spec rating of 4.6GHz while an all-core boost of nearly 4.6GHz in heavily threaded workloads with PBO. Let’s dig in: