Create a copy of HistTable called TempHistTable, copy structure only, no data, then try these three in order;
Code:
IQUERY1D:
DELETE FROM TempHistTable;
IQUERY1T:
INSERT INTO TempHistTable (UniqueID, LastDate, DiscDate)
SELECT NT.UniqueID, NT.LastDate, NT.DiscDate
FROM NewTable AS NT
WHERE NT.UniqueID & NT.LastDate NOT IN
(SELECT HT.UniqueID & HT.LastDate
FROM histTable AS HT);
IQUERY1U:
INSERT INTO HistTable (UniqueID, LastDate, DiscDate)
SELECT TT.UniqueID, TT.LastDate, TT.DiscDate
FROM TempHistTable AS TT;
That should be a bit faster than trying to update the same table you're selecting from.