Is it always slow, or is the first connection slow and the rest are quick? If your database is serverless, you need to account for that it takes time to load the database on to a server.
This is a bit of pain with serverless databases. But only a bit, when you take in account how much money you save with serverless.