Efficient Pandas to MySQL "UPDATE... WHERE"
You have eight conditions to match for every UPDATE.  A typical solution would store timestamps using a DATETIME or TIMESTAMP column, so that there is only one value to match.

For reasonable performance, ensure that the timestamp field is indexed.