Lucky you. That’s literally it. Luck. Playing the mission doesn’t affect the items you get. Nothing you do affects items you get, not the difficulty of the mission you play, not how you did in a mission, etc. You’re either lucky or you wait another hour.
When the devs themselves admitted that the chances of getting a weapon you’d want is lower than winning the lottery, it’s a design issue.