What kind of lens was most likely used for this photo?
fixed focal length
Such shallow depth-of-field is possible with lens of large aperture size (small f-number). The large aperture is a typical feature (and advantage) of a fixed focal length lens. The photo was taken with a 50mm f/1.4 lens.