I added twice the same "Query JSON with SQL" from an app to the Query Library using the function "Extract to Query Library"
Now this query appears twice in the Query Library and I can neither select nor remove them from there.
(Of course, it was a silly mistake to add them twice...)
This looks like a bug and a tricky situation at that, do you mind if I step into your org to take a look?
We also, unfortunately, don't support Query JSON with SQL queries in the query library at the moment. So while you certainly shouldn't be seeing the unclickable queries I'm afraid you won't be able to use them from the query library regardless
It is something on the dev team's radar though and I can let you know here when there is support for it!