If it has been painted in the past and is not new unpainted MDF then any good undercoat then topcoat will be fine. Just give it a light sanding first so that the new paint has something to adhere to and make sure it's clean and free from grease otherwise the new paint will not stick properly.