Blend all the spice paste ingredients with 1/4 cup (60 ml) of the water until smooth.
Put the chicken in a large pot with the spice paste, remaining water, bay leaves (if using), lemongrass, salt, and sugar. Stir to coat. If you have time, rest for 30 minutes; otherwise, proceed.
Bring to a boil over medium heat, then reduce to a steady simmer. Cook, turning the pieces once, for 25–30 minutes, until the chicken is fully cooked and the liquid has reduced by about half. Lift out the chicken and let it steam-dry on a rack for at least 10 minutes — drier skin fries crisper. Strain and reserve the cooking liquid if you plan to make the crispy flakes (see notes).
Heat the oil in a deep skillet or wok to 350°F (175°C). Fry the chicken in batches, without crowding, for 3–5 minutes per batch, turning once, until deep golden and crisp. The chicken is already cooked — you are only crisping it.
Drain on a rack or paper towels and rest 5 minutes. Serve with steamed rice, sambal, cucumber, and tomato.