To unlock that you first need to beat every single mission on said planet. To earn them, you need to play on “Nightmare Mode” - a higher-than-normal difficulty setting that’s available for one mission on each planet. This makes them incredibly useful and efficient since all equipment can only hold so many Mods at one time.
Whereas most Mods only provide one bonus - like fire or toxic damage - Nightmare Mods offer two.