To illustrate the difference made by running the RTX 3050 on a PCIe 3.0 x8 interface, instead of PCIe 4.0 x8, below we can see a chart showing the RTX 3050's PCIe 3.0 performance, relative to its PCIe 4.0 performance.
Broadly speaking, PCIe 3.0 is not going to be a limitation for the RTX 3050. In all but three of the games we tested, we saw less than a 5% differential between PCIe 3.0 and PCIe 4.0. However, the likes of Forza Horizon 5, Far Cry 6 and particularly Total War Saga: Troy do see some benefit to using this card on a PCIe 4.0 platform. Even then, the results are clearly nowhere near as disastrous as using the RX 6500 XT on a PCIe 3.0 platform, but it is worth noting.