wonky(TM) creates an index when an FK is created (if there isn't already one), so the FK is enforced.
But in the specific query, compound index is more efficient.
And simply stating that FKs improve performance, is misleading. They may do but only because of the indexes dded.