In a mini food processor, blitz shallots, garlic, turmeric (if using fresh), lemongrass and galangal, in small batches or pound thoroughly with a mortar and pestle, to a fine paste. Add toasted, ground coriander and cumin to the wet spice paste and stir to incorporate.