SELECT `xf_dbtech_shop_item`.*, `xf_user_User_1`.*, `xf_permission_cache_content_Permissions_2`.*, `xf_dbtech_shop_item_watch_Watch_3`.*, `xf_reaction_content_Reactions_4`.*, `xf_dbtech_shop_category_Category_5`.*, `xf_permission_cache_content_Permissions_6`.*, `xf_dbtech_shop_category_watch_Watch_7`.*
FROM `xf_dbtech_shop_item`
LEFT JOIN `xf_user` AS `xf_user_User_1` ON (`xf_user_User_1`.`user_id` = `xf_dbtech_shop_item`.`user_id`)
LEFT JOIN `xf_permission_cache_content` AS `xf_permission_cache_content_Permissions_2` ON (`xf_permission_cache_content_Permissions_2`.`content_type` = 'dbtech_shop_item' AND `xf_permission_cache_content_Permissions_2`.`content_id` = `xf_dbtech_shop_item`.`item_id` AND `xf_permission_cache_content_Permissions_2`.`permission_combination_id` = '156081')
LEFT JOIN `xf_dbtech_shop_item_watch` AS `xf_dbtech_shop_item_watch_Watch_3` ON (`xf_dbtech_shop_item_watch_Watch_3`.`item_id` = `xf_dbtech_shop_item`.`item_id` AND `xf_dbtech_shop_item_watch_Watch_3`.`user_id` = '130500')
LEFT JOIN `xf_reaction_content` AS `xf_reaction_content_Reactions_4` ON (`xf_reaction_content_Reactions_4`.`content_type` = 'dbtech_shop_item' AND `xf_reaction_content_Reactions_4`.`content_id` = `xf_dbtech_shop_item`.`item_id` AND `xf_reaction_content_Reactions_4`.`reaction_user_id` = '130500')
LEFT JOIN `xf_dbtech_shop_category` AS `xf_dbtech_shop_category_Category_5` ON (`xf_dbtech_shop_category_Category_5`.`category_id` = `xf_dbtech_shop_item`.`category_id`)
LEFT JOIN `xf_permission_cache_content` AS `xf_permission_cache_content_Permissions_6` ON (`xf_permission_cache_content_Permissions_6`.`content_type` = 'dbtech_shop_category' AND `xf_permission_cache_content_Permissions_6`.`content_id` = `xf_dbtech_shop_category_Category_5`.`category_id` AND `xf_permission_cache_content_Permissions_6`.`permission_combination_id` = '156081')
LEFT JOIN `xf_dbtech_shop_category_watch` AS `xf_dbtech_shop_category_watch_Watch_7` ON (`xf_dbtech_shop_category_watch_Watch_7`.`category_id` = `xf_dbtech_shop_category_Category_5`.`category_id` AND `xf_dbtech_shop_category_watch_Watch_7`.`user_id` = '130500');