Cook the rice for at least 2 hours or the evening before. Let cool well and put in the fridge.
Prepare the garnish:
Peel the cucumber, cut in half lengthways and core. Cut the pulp into slices. Cut the spring onions at a slight angle into 2.5 cm pieces. Cut the lime into wedges. Set aside the ingredients for the garnish.
Heat a wok or a large frying pan to a high temperature. Pour in the oil; if it is very hot and smokes lightly, add the garlic, onion and pepper. Fry for 2 minutes while stirring, add rice, beans and corn and fry for another 3 minutes, stirring constantly. Add the soy sauce and curry paste and stir for another 2 minutes.
Place on a platter, garnish with cucumber, spring onions and lime wedges and serve immediately.