Is it possible to make Embed Search Queries to trigger only when I expand the callout?

I don’t want the embedded search query to run (and consume resources) as soon as I open the note.
Instead, I would like it to trigger only when I expand the callout that contains it.

Is this possible?

Here’s the callout that contains the embedded search query:

[!example]- Embed Search Query

Text to search here