Combine the cucumber, peanuts, cilantro, and coconut together in a bowl.
Heat the oil in a small skillet over high heat and add the mustard seeds. When they begin to pop, add the curry leaves (standing back from the pan if using fresh leaves, as they will splutter), then pour the oil over the cucumber mixture.