Study of Production Features, Modeling and Optimization of Algorithms for Reconstruction of Short-Lived Hadron Resonances in the MPD Experimental Setup at the NICA Collider