How to Make It
In a blender, puree the ginger with the garlic, shallots, soy sauce, sugar, rice vinegar, five-spice powder and pepper. Transfer the marinade to a resealable plastic bag, add the quails and seal, pressing out the air. Let marinate in the refrigerator for 2 hours.
In a small saucepan, bring the water to a boil. Add the tamarind paste and simmer for 2 minutes, mashing with a wooden spoon to dissolve the paste. Strain the tamarind puree through a coarse sieve into a small bowl, pressing on the solids.
In a medium saucepan, heat the grapeseed oil until shimmering. Add the garlic, shallots and jalapeños and cook over moderately high heat, stirring, until the garlic is lightly browned, about 4 minutes. Add the granulated sugar and brown sugar and cook until melted. Stir in the tamarind puree and simmer until thickened, about 3 minutes. Remove from the heat and stir in the fish sauce and dried shrimp.
In a small bowl, whisk 3 tablespoons of the chile jam with the soy sauce and lime juice to make a dressing.
In a saucepan of boiling salted water, cook the wax beans until crisp-tender, 5 minutes. Using a slotted spoon, transfer the beans to a colander and rinse under cold water. Pat dry and cut into 1-inch pieces, then transfer to a bowl. Boil the butter beans and black-eyed peas for 1 minute, then drain. Add the butter beans, peas, tomatoes, shallot, cilantro and chile powder to the wax beans. Add three-fourths of the dressing and toss.
Heat 2 large skillets until very hot. Add 2 tablespoons of the oil to each skillet. Drain the quails and pat dry; add to the skillets, breasts down, and brown over high heat, turning once, until crisp, about 6 minutes.
Mound the salad on plates. Top with the quails and drizzle with the remaining dressing. Serve the chile jam on the side.
Tamarind paste is available at specialty food shops and Asian markets.