Place it at the point of realization in a montage or reaction edit, after the question has been asked. Lead in with a bell ding to mark the idea arriving, then follow with this clip while the remembered tune becomes the focus of the scene.