How to handle API Gateway timeout?

Hello everyone,

I am currently working on an application doing heavy data jobs and I am facing an issue using API Gateway routes.
For example, I have a Lambda running an Athena query and then calling an API for each row before sending the result. The execution time is approximately 1 minute. But API Gateway maximum timeout is 30 seconds. Is there a way to call the lambda directly from the front-end (React) and if so, is there any drawbacks doing this?

The application will not be public and is intended only to be used inside my company for demonstration purposes.

Thank you for your help !