Create a custom data class with the fields that you want and import the data from that CMDB using a Import export rule on a regualr basis. match that data on serial number or to append it to each computer record. You can then query on that to create your filters. I have done similar for a CMDB in service now:
here is what it looks like in a computer record in resource manager:
Alternatly if all you want to do is create filter from a bunch of serial numbers. just write a sql query that matches for Serial number IN and provide that list of serials you can put hundreds of serials in there at once if you need;
SELECT
[vri2_Computer].[Guid] AS [_ItemGuid],
[dca4_AeX AC Identification].[Hardware Serial Number] AS [Serial Number]
FROM
[vRM_Computer_Item] AS [vri2_Computer]
LEFT OUTER JOIN [Inv_AeX_AC_Identification] AS [dca4_AeX AC Identification]
ON ([vri2_Computer].[Guid] = [dca4_AeX AC Identification].[_ResourceGuid])
WHERE
[dca4_AeX AC Identification].[Hardware Serial Number] IN (
'Serial1',
'Serial12',
'Serial3',
'Serial4',
'Serial5',
)