Caused deadlocks for 15 min or so around 22:00 UTC on Dec 5, 2109. @MBeat33 is asking the DS rep involved how they invoked this:
/* User : 148 */INSERT INTO civicrm_tmp_e_dedupe_f34a360ff1fd447f72009bb37b366904 (id1, id2, weight) SELECT id1, id2, weight FROM (SELECT t1.contact_id id1, t2.contact_id id2, 5 weight FROM civicrm_address t1 JOIN civicrm_address t2 ON (SUBSTR(t1.street_address, 1, 5) = SUBSTR(t2.street_address, 1, 5) AND t1.location_type_id = t2.location_type_id) WHERE t1.contact_id < t2.contact_id AND t1.contact_id IN (19222291,25665376,25995762,28032136,34432770,34846871,35144886,36900303) UNION SELECT t1.contact_id id1, t2.contact_id id2, 5 weight FROM civicrm_address t1 JOIN civicrm_address t2 ON (SUBSTR(t1.street_address, 1, 5) = SUBSTR(t2.street_address, 1, 5) AND t1.location_type_id = t2.location_type_id) WHERE t1.contact_id < t2.contact_id AND t2.contact_id IN (19222291,25665376,25995762,28032136,34432770,34846871,35144886,36900303)) subunion GROUP BY id1, id2, weight ON DUPLICATE KEY UPDATE weight = weight + VALUES(weight)