You would have to wait for your study permit to be approved to apply for a new TRV and SIN. Once you get the approval letter in your IRCC account (you don’t have to wait for the physical copy), you can go ahead and make your TRV application and I think the same for the expired SIN