Indian join in matrimony

parse took 0.40636086463928
mysql: 26 queries took 0.28099822998047