Crucial claims that the P510 SSDs have speeds "up to 11,000 MB/s" (read) and "up to 9,500 MB/s" (write).
https://www.crucial.com/ssd/p510/CT1000P510SSD8
Ignoring the issue of whether the SSDs can actually sustain these speeds, these translate into "up to 88,000 Mb/s" (read) and "up to 76,000 Mb/s" (write). Thunderbolt 3 and USB 4 40 Gbps have a maximum bandwidth of 40,000 Mb/s before overhead, and there will definitely be various types of overhead. A 10 Gbps enclosure has a maximum bandwidth of 10,000 Mb/s before overhead.
There is no way you are going to get 88,000 Mb/s or 76,000 Mb/s of sustained transfer when there is an interface limiting sustained speeds to less than 40,000 Mb/s or less than 10,000 Mb/s.
Those SSDs are meant for internal M.2 PCIe sockets – or perhaps for Thunderbolt 5 enclosures which would have the ability to dedicate 80,000 Mb/s (before overhead) to data transfer. (The M4 MacBook Air does not support Thunderbolt 5 and would not be able to take advantage of the higher theoretical maximum data transfer speeds of such enclosures.)