Dynamics of an unbalanced two-ion crystal in a Penning trap for application in optical mass spectrometry