Ways to make Neon/Postgres faster at retrieving data?

I’m using a neon/postgres database and I am trying to see how fast I can retrieve data from it. In my tests, I can get about 2.5 records per second but I’d rather be getting 25-50+ per second if possible. I’ve looked into changing the max_connections but it actually seems to be going slower when I change that. When I query the database to see it’s max_connections it says 450, but if I bump that up to 600 or 700 it doesn’t seem to help.