High-level proposal:
Keep a 24/7 service with several threads, each running playwright on a browser and for each incoming request the thread does google search and parses the results.
Pros:
Shouls be cheaper with a dedicated server
Cons:
- Complex
- Latency might be higher due to browser interaction from playwright