def METHOD_NAME(self, pairs: Mapping[str, str]) -> None:
    check.mapping_param(pairs, "pairs", key_type=str, value_type=str)
    db_values = [{"key": k, "value": v} for k, v in pairs.items()]
    with self.connect() as conn:
        insert_stmt = db_dialects.mysql.insert(KeyValueStoreTable).values(db_values)
        conn.execute(
            insert_stmt.on_duplicate_key_update(
                value=insert_stmt.inserted.value,
            )
        )