MariaDB - breaking up a multi join into CTEs
Your 'join' version is plenty good.  For performance, you need these indexes (or PKs):

dl:  (mongodb_id, account_id,  -- in either order
      id)                      -- third
dll:  (display_list_id, list_id)  -- in this order
li:  (list_id)
i:  (id, mongodb_id)   -- unless (id) is the PRIMARY KEY


Index Cookbook