@walterf25
Before I make some way out assumptions, please tell me: "Is your Scanner Connected all the time and is it programmable ?"
If you are going to store your tags in a database and your scanner is connected, then use MQTT to send the messages ones at a time at the point of scanning and have a back end (the place where the database resides) read the message and act on the payload to store it in the database.
If your scanner is one of those that can collect data and needs a docking station to "download" the collected data then the PC that it is connected to via the docking station can then send the data via a normal connection to a MySQL or MSSQL or whatever database. If you want to use MQTT here, it would be possible, bearing mind that the max packet size is 256mb, and I would take the data and convert it to JSON and then send it as the payload. Once it reaches it's destination, you have a sub that reads the payload and then re-acts on it - like reading the JSON records and inserting/updating (possibly even use the REPLACE syntax) to manipulate your database.
I hope this helps somewhat and I have not missed the point.