Original query:

SELECT "attachments".* FROM "attachments" WHERE (file_data#>>'{original,id}' IN ('attachment/1/file/original-9904a0cb8bc0d221c487001b19510ed7.html','attachment/2/file/original-1fc74f4c1d6be5b26c65b0ae5d9c0d2d.pdf'))"