Chopped and prepared mirepoix will only last for around 3 days in the fridge. Beyond this, the vegetables will lose their texture and flavour. If you want to keep it for longer, then consider freezing it.