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 
  (
    1883924929, 1751909759, 'C', 'U', 1532327238, 
    'P', 57, 1, 309, 'a:11:{s:10:"product_id";i:57;s:12:"product_code";s:10:"R0057SFAR6";s:7:"product";s:9:"GM-D8500M";s:6:"amount";i:1;s:15:"product_options";a:0:{}s:5:"price";d:309;s:12:"stored_price";s:1:"N";s:9:"main_pair";a:7:{s:7:"pair_id";s:3:"314";s:8:"image_id";s:1:"0";s:11:"detailed_id";s:3:"370";s:8:"position";s:1:"0";s:9:"object_id";s:2:"57";s:11:"object_type";s:7:"product";s:8:"detailed";a:12:{s:9:"object_id";s:2:"57";s:11:"object_type";s:7:"product";s:4:"type";s:1:"M";s:10:"image_path";s:79:"https://satish.ecarter.co/march_003/images/detailed/0/GM-D8500M_angle_large.jpg";s:3:"alt";s:0:"";s:7:"image_x";s:3:"800";s:7:"image_y";s:3:"450";s:15:"http_image_path";s:78:"http://satish.ecarter.co/march_003/images/detailed/0/GM-D8500M_angle_large.jpg";s:16:"https_image_path";s:79:"https://satish.ecarter.co/march_003/images/detailed/0/GM-D8500M_angle_large.jpg";s:13:"absolute_path";s:85:"/home/satishecarter/public_html/march_003/images/detailed/0/GM-D8500M_angle_large.jpg";s:13:"relative_path";s:36:"detailed/0/GM-D8500M_angle_large.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:"1328684302";}s:15:"stored_discount";N;s:10:"company_id";s:1:"1";}', 
    '', 'd849d8fc', 0, 1, 0
  ) ON DUPLICATE KEY 
UPDATE 
  `user_id` = 1883924929, 
  `timestamp` = 1751909759, 
  `type` = 'C', 
  `user_type` = 'U', 
  `item_id` = 1532327238, 
  `item_type` = 'P', 
  `product_id` = 57, 
  `amount` = 1, 
  `price` = 309, 
  `extra` = 'a:11:{s:10:"product_id";i:57;s:12:"product_code";s:10:"R0057SFAR6";s:7:"product";s:9:"GM-D8500M";s:6:"amount";i:1;s:15:"product_options";a:0:{}s:5:"price";d:309;s:12:"stored_price";s:1:"N";s:9:"main_pair";a:7:{s:7:"pair_id";s:3:"314";s:8:"image_id";s:1:"0";s:11:"detailed_id";s:3:"370";s:8:"position";s:1:"0";s:9:"object_id";s:2:"57";s:11:"object_type";s:7:"product";s:8:"detailed";a:12:{s:9:"object_id";s:2:"57";s:11:"object_type";s:7:"product";s:4:"type";s:1:"M";s:10:"image_path";s:79:"https://satish.ecarter.co/march_003/images/detailed/0/GM-D8500M_angle_large.jpg";s:3:"alt";s:0:"";s:7:"image_x";s:3:"800";s:7:"image_y";s:3:"450";s:15:"http_image_path";s:78:"http://satish.ecarter.co/march_003/images/detailed/0/GM-D8500M_angle_large.jpg";s:16:"https_image_path";s:79:"https://satish.ecarter.co/march_003/images/detailed/0/GM-D8500M_angle_large.jpg";s:13:"absolute_path";s:85:"/home/satishecarter/public_html/march_003/images/detailed/0/GM-D8500M_angle_large.jpg";s:13:"relative_path";s:36:"detailed/0/GM-D8500M_angle_large.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:"1328684302";}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.00040

Result

int(1)