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 
  (
    3138718470, 1751919129, 'C', 'U', 1997922972, 
    'P', 63, 1, 189.95, 'a:11:{s:10:"product_id";i:63;s:12:"product_code";s:10:"J0063Z8JWN";s:7:"product";s:8:"XRS 9770";s:6:"amount";i:1;s:15:"product_options";a:0:{}s:5:"price";d:189.94999999999998863131622783839702606201171875;s:12:"stored_price";s:1:"N";s:9:"main_pair";a:7:{s:7:"pair_id";s:3:"335";s:8:"image_id";s:1:"0";s:11:"detailed_id";s:3:"391";s:8:"position";s:1:"0";s:9:"object_id";s:2:"63";s:11:"object_type";s:7:"product";s:8:"detailed";a:12:{s:9:"object_id";s:2:"63";s:11:"object_type";s:7:"product";s:4:"type";s:1:"M";s:10:"image_path";s:68:"https://satish.ecarter.co/march_003/images/detailed/0/XRS9770_MD.jpg";s:3:"alt";s:0:"";s:7:"image_x";s:3:"809";s:7:"image_y";s:3:"500";s:15:"http_image_path";s:67:"http://satish.ecarter.co/march_003/images/detailed/0/XRS9770_MD.jpg";s:16:"https_image_path";s:68:"https://satish.ecarter.co/march_003/images/detailed/0/XRS9770_MD.jpg";s:13:"absolute_path";s:74:"/home/satishecarter/public_html/march_003/images/detailed/0/XRS9770_MD.jpg";s:13:"relative_path";s:25:"detailed/0/XRS9770_MD.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:"1328684303";}s:15:"stored_discount";N;s:10:"company_id";s:1:"1";}', 
    '', 'd849d8fc', 0, 1, 0
  ) ON DUPLICATE KEY 
UPDATE 
  `user_id` = 3138718470, 
  `timestamp` = 1751919129, 
  `type` = 'C', 
  `user_type` = 'U', 
  `item_id` = 1997922972, 
  `item_type` = 'P', 
  `product_id` = 63, 
  `amount` = 1, 
  `price` = 189.95, 
  `extra` = 'a:11:{s:10:"product_id";i:63;s:12:"product_code";s:10:"J0063Z8JWN";s:7:"product";s:8:"XRS 9770";s:6:"amount";i:1;s:15:"product_options";a:0:{}s:5:"price";d:189.94999999999998863131622783839702606201171875;s:12:"stored_price";s:1:"N";s:9:"main_pair";a:7:{s:7:"pair_id";s:3:"335";s:8:"image_id";s:1:"0";s:11:"detailed_id";s:3:"391";s:8:"position";s:1:"0";s:9:"object_id";s:2:"63";s:11:"object_type";s:7:"product";s:8:"detailed";a:12:{s:9:"object_id";s:2:"63";s:11:"object_type";s:7:"product";s:4:"type";s:1:"M";s:10:"image_path";s:68:"https://satish.ecarter.co/march_003/images/detailed/0/XRS9770_MD.jpg";s:3:"alt";s:0:"";s:7:"image_x";s:3:"809";s:7:"image_y";s:3:"500";s:15:"http_image_path";s:67:"http://satish.ecarter.co/march_003/images/detailed/0/XRS9770_MD.jpg";s:16:"https_image_path";s:68:"https://satish.ecarter.co/march_003/images/detailed/0/XRS9770_MD.jpg";s:13:"absolute_path";s:74:"/home/satishecarter/public_html/march_003/images/detailed/0/XRS9770_MD.jpg";s:13:"relative_path";s:25:"detailed/0/XRS9770_MD.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:"1328684303";}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.00041

Result

int(1)