That depends: is the average distance between Amazon warehouses and recipients higher than the distance between a neighborhood pizza shop and it's customers?
Well 1 hour delivery leaves at least 15-20 minutes to actually cook the pizza. I suspect the fact that they're doing this one a few limited parts of Manhattan indicates that they have some kind of courier depots especially for this.