It's a little more involved than just having proxies in Pakistan. I'm quite sure Google has some protections against bots and scraping and SerpAPI's team unfailingly seems to work around those restrictions.
They are comically good at scraping a lot of things on the internet (ie. LinkedIn profiles), they have a scraping service you can setup, literally, just point it at a url. I am talking about Brightdata.