INSERT INTO cscart_user_session_products (
  `user_id`, `timestamp`, `type`, `user_type`, 
  `item_id`, `item_type`, `product_id`, 
  `amount`, `price`, `extra`, `session_id`, 
  `ip_address`, `position`, `storefront_id`, 
  `company_id`
) 
VALUES 
  (
    1524929482, 1751919071, 'C', 'U', 1668118718, 
    'P', 225, 1, 199.99, 'a:11:{s:10:"product_id";i:225;s:12:"product_code";s:10:"E0225PPZPL";s:7:"product";s:36:"Samsung Galaxy Tab™ 7.0" (Verizon)";s:6:"amount";i:1;s:15:"product_options";a:0:{}s:5:"price";d:199.990000000000009094947017729282379150390625;s:12:"stored_price";s:1:"N";s:9:"main_pair";a:7:{s:7:"pair_id";s:3:"766";s:8:"image_id";s:1:"0";s:11:"detailed_id";s:3:"822";s:8:"position";s:1:"0";s:9:"object_id";s:3:"225";s:11:"object_type";s:7:"product";s:8:"detailed";a:12:{s:9:"object_id";s:3:"225";s:11:"object_type";s:7:"product";s:4:"type";s:1:"M";s:10:"image_path";s:81:"https://satish.ecarter.co/march_003/images/detailed/0/Ver_Galaxy_Tab_front2_5.jpg";s:3:"alt";s:0:"";s:7:"image_x";s:4:"1000";s:7:"image_y";s:4:"1000";s:15:"http_image_path";s:80:"http://satish.ecarter.co/march_003/images/detailed/0/Ver_Galaxy_Tab_front2_5.jpg";s:16:"https_image_path";s:81:"https://satish.ecarter.co/march_003/images/detailed/0/Ver_Galaxy_Tab_front2_5.jpg";s:13:"absolute_path";s:87:"/home/satishecarter/public_html/march_003/images/detailed/0/Ver_Galaxy_Tab_front2_5.jpg";s:13:"relative_path";s:38:"detailed/0/Ver_Galaxy_Tab_front2_5.jpg";s:11:"is_high_res";b:0;}}s:5:"extra";a:3:{s:15:"product_options";a:0:{}s:18:"unlimited_download";s:1:"N";s:17:"updated_timestamp";s:10:"1328785170";}s:15:"stored_discount";N;s:10:"company_id";s:1:"1";}', 
    '', 'd849d8fc', 0, 1, 0
  ) ON DUPLICATE KEY 
UPDATE 
  `user_id` = 1524929482, 
  `timestamp` = 1751919071, 
  `type` = 'C', 
  `user_type` = 'U', 
  `item_id` = 1668118718, 
  `item_type` = 'P', 
  `product_id` = 225, 
  `amount` = 1, 
  `price` = 199.99, 
  `extra` = 'a:11:{s:10:"product_id";i:225;s:12:"product_code";s:10:"E0225PPZPL";s:7:"product";s:36:"Samsung Galaxy Tab™ 7.0" (Verizon)";s:6:"amount";i:1;s:15:"product_options";a:0:{}s:5:"price";d:199.990000000000009094947017729282379150390625;s:12:"stored_price";s:1:"N";s:9:"main_pair";a:7:{s:7:"pair_id";s:3:"766";s:8:"image_id";s:1:"0";s:11:"detailed_id";s:3:"822";s:8:"position";s:1:"0";s:9:"object_id";s:3:"225";s:11:"object_type";s:7:"product";s:8:"detailed";a:12:{s:9:"object_id";s:3:"225";s:11:"object_type";s:7:"product";s:4:"type";s:1:"M";s:10:"image_path";s:81:"https://satish.ecarter.co/march_003/images/detailed/0/Ver_Galaxy_Tab_front2_5.jpg";s:3:"alt";s:0:"";s:7:"image_x";s:4:"1000";s:7:"image_y";s:4:"1000";s:15:"http_image_path";s:80:"http://satish.ecarter.co/march_003/images/detailed/0/Ver_Galaxy_Tab_front2_5.jpg";s:16:"https_image_path";s:81:"https://satish.ecarter.co/march_003/images/detailed/0/Ver_Galaxy_Tab_front2_5.jpg";s:13:"absolute_path";s:87:"/home/satishecarter/public_html/march_003/images/detailed/0/Ver_Galaxy_Tab_front2_5.jpg";s:13:"relative_path";s:38:"detailed/0/Ver_Galaxy_Tab_front2_5.jpg";s:11:"is_high_res";b:0;}}s:5:"extra";a:3:{s:15:"product_options";a:0:{}s:18:"unlimited_download";s:1:"N";s:17:"updated_timestamp";s:10:"1328785170";}s:15:"stored_discount";N;s:10:"company_id";s:1:"1";}', 
  `session_id` = '', 
  `ip_address` = 'd849d8fc', 
  `position` = 0, 
  `storefront_id` = 1, 
  `company_id` = 0

Query time 0.00046

Result

int(1)