@Suhail Chander Welcome to Microsoft Q&A thanks for posting your question.
Please refer to the answer provided by Rahul on this thread https://learn.microsoft.com/en-us/answers/questions/1642061/azure-database-for-mysql-flexible-high-cpu-no-incr
It appears that the high CPU usage issue you're experiencing with the Azure Database for MySQL servers, particularly with the Burstable B1s or B1ms instances, is indeed related to the CPU credit consumption
As per the product team, the recommendation is, for production workloads, transitioning to either the General Purpose or Business Critical tiers. Please review performance limitations of burstable series instances The Burstable tier is ideally more suited for non-production environments. To specifically address CPU-related issues, advise transitioning from the B1s/B1ms size to the B2s or B2ms, or a higher SKU.
Regards
Geetha