values = [[a1,a2,...], [b1, b2,...], ....]
query = "INSERT INTO ads_irr_ru_content (col1, col2, .... ,col5) VALUES " +
",".join("(%s,%s,%s,%s,%s)" for _ in values)
flattened_values = [item for sublist in values for item in sublist]
cur.execute(query, flattened_values)