Earlier quoted context omitted.
It wouldn't. Databases are fast, python is slow.
Network is slow. So you are waiting on the db for most of a request lifecycle.
(Assuming effective DB use of course, i.e. not doing dozens of DB roundtrips to server a single result or getting megabytes of data and filtering on the client etc.)