INSERT INTO cscart_product_popularity (
`viewed`, `added`, `deleted`, `bought`,
`total`, `product_id`
)
VALUES
(0, 1, 0, 0, 5, 359167) ON DUPLICATE KEY
UPDATE
viewed = viewed + 0,
added = added + 1,
deleted = deleted + 0,
bought = bought + 0,
total = total + 5