Regarding M.2, it depends on the drive.
There are 3 options really. B keyed drives are going to still be SATA III, or 2x PCIe and are going to be the cheaper option (usually the drives are keyed for both B and M so will have two notches). The PCIe will be a bit faster depending on if it uses the old AHCI controller What SATA runs which isn't optimized for SSD random access or the newer NVMe which is. M keyed drives (which will only have a single notch) will almost always be 4x PCIe which is much faster and are more likely to be using NVMe.
So, if you actually want a faster drive, check for the specs to mention PCIe and preferably NVMe as well, since if you get a SATA based M.2 drive you aren't getting anything you wouldn't already get from a 2.5 inch drive other than a smaller form factor and are likely to pay a capacity penalty and price markup.