How do I find prefab in the project that references a specific asset by Editor search query?

Hi,
I want to find all prefabs that references Assets/MyAsset/FooBar.asset.
I know that I can find all prefabs by select{ p: *.prefab, @path }, and find the references by ref="Assets/MyAsset/FooBar.asset".
However, there are 2 problems:

  1. I don’t know how to combine those query snippets
  2. The latter snippet does not yield result for refenreces from prefab in the project

How can I perform such query? Thanks.