このクエリがインデックスを使用しているかどうかはわかりません。どうすればわかりますか?
mysql> EXPLAIN SELECT au.* FROM users au WHERE au.id IN(SELECT fa.from_user_id FROM approvals fa INNER JOIN personas pp ON fa.persona_id = pp.id WHERE fa.to_user_id=1 AND pp.is_foundation=1 GROUP BY fa.from_user_id) ORDER BY id DESC LIMIT 0, 9999999999;
+----+--------------------+-------+--------+-----------------------+------------+---------+--------------------+------+----------------------------------------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+--------------------+-------+--------+-----------------------+------------+---------+--------------------+------+----------------------------------------------+
| 1 | PRIMARY | au | index | NULL | PRIMARY | 4 | NULL | 2272 | Using where |
| 2 | DEPENDENT SUBQUERY | fa | ref | to_user_id,persona_id | to_user_id | 4 | const | 396 | Using where; Using temporary; Using filesort |
| 2 | DEPENDENT SUBQUERY | pp | eq_ref | PRIMARY | PRIMARY | 4 | kjdb.fa.persona_id | 1 | Using where |
+----+--------------------+-------+--------+-----------------------+------------+---------+--------------------+------+----------------------------------------------+
3 rows in set (0.00 sec)