Thanks for reaching here! It's possible that the large database table is causing the app service to crash or become unresponsive. The "Azure Database for MySQL, Flexible Server Burstable BS Series" plan is designed for small to medium workloads, so it may not have enough resources to handle a large table.
Also you can check this by enabling crash monitoring:
To access Crash Monitoring, browse to your App Service in the Azure Portal and click Diagnose and Solve problems in the left navigation panel. Then, click on the home page tile named Diagnostic Tools. Once you are inside Diagnostic Tools, click Crash Monitoring.
Further you can also Run a load test to identify performance bottlenecks in a web app
Let us know if further query or issue on this.