SELECT 
  cscart_aprilproducts.*, 
  cscart_aprilproduct_descriptions.*, 
  MIN(
    IF(
      cscart_aprilproduct_prices.percentage_discount = 0, 
      cscart_aprilproduct_prices.price, 
      cscart_aprilproduct_prices.price - (
        cscart_aprilproduct_prices.price * cscart_aprilproduct_prices.percentage_discount
      )/ 100
    )
  ) as price, 
  GROUP_CONCAT(
    CASE WHEN (
      cscart_aprilproducts_categories.link_type = 'M'
    ) THEN CONCAT(
      cscart_aprilproducts_categories.category_id, 
      'M'
    ) ELSE cscart_aprilproducts_categories.category_id END 
    ORDER BY 
      cscart_aprilcategories.storefront_id IN (0, 1) DESC, 
      (
        cscart_aprilproducts_categories.link_type = 'M'
      ) DESC, 
      cscart_aprilproducts_categories.category_position ASC, 
      cscart_aprilproducts_categories.category_id ASC
  ) as category_ids, 
  popularity.total as popularity, 
  company_descr.i18n_company as company_name, 
  cscart_aprilproduct_sales.amount as sales_amount, 
  cscart_aprilseo_names.name as seo_name, 
  cscart_aprilseo_names.path as seo_path, 
  MIN(point_prices.point_price) as point_price, 
  cscart_aprildiscussion.type as discussion_type, 
  cscart_aprilproduct_review_prepared_data.average_rating average_rating, 
  cscart_aprilproduct_review_prepared_data.reviews_count product_reviews_count 
FROM 
  cscart_aprilproducts 
  LEFT JOIN cscart_aprilproduct_prices ON cscart_aprilproduct_prices.product_id = cscart_aprilproducts.product_id 
  AND cscart_aprilproduct_prices.lower_limit = 1 
  AND cscart_aprilproduct_prices.usergroup_id IN (0, 0, 1) 
  LEFT JOIN cscart_aprilproduct_descriptions ON cscart_aprilproduct_descriptions.product_id = cscart_aprilproducts.product_id 
  AND cscart_aprilproduct_descriptions.lang_code = 'en' 
  LEFT JOIN cscart_aprilcompany_descriptions as company_descr ON company_descr.company_id = cscart_aprilproducts.company_id 
  AND company_descr.lang_code = 'en' 
  LEFT JOIN cscart_aprilcompanies as companies ON companies.company_id = cscart_aprilproducts.company_id 
  INNER JOIN cscart_aprilproducts_categories ON cscart_aprilproducts_categories.product_id = cscart_aprilproducts.product_id 
  INNER JOIN cscart_aprilcategories ON cscart_aprilcategories.category_id = cscart_aprilproducts_categories.category_id 
  AND cscart_aprilcategories.storefront_id IN (0, 1) 
  AND (
    cscart_aprilcategories.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_aprilcategories.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_aprilcategories.usergroup_ids
    )
  ) 
  AND (
    cscart_aprilproducts.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_aprilproducts.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_aprilproducts.usergroup_ids
    )
  ) 
  AND cscart_aprilcategories.status IN ('A', 'H') 
  AND cscart_aprilproducts.status IN ('A', 'H') 
  LEFT JOIN cscart_aprilproduct_popularity as popularity ON popularity.product_id = cscart_aprilproducts.product_id 
  LEFT JOIN cscart_aprilproduct_sales ON cscart_aprilproduct_sales.product_id = cscart_aprilproducts.product_id 
  AND cscart_aprilproduct_sales.category_id = 235 
  LEFT JOIN cscart_aprilseo_names ON cscart_aprilseo_names.object_id = 238 
  AND cscart_aprilseo_names.type = 'p' 
  AND cscart_aprilseo_names.dispatch = '' 
  AND cscart_aprilseo_names.lang_code = 'en' 
  LEFT JOIN cscart_aprilproduct_point_prices as point_prices ON point_prices.product_id = cscart_aprilproducts.product_id 
  AND point_prices.lower_limit = 1 
  AND point_prices.usergroup_id IN (0, 0, 1) 
  LEFT JOIN cscart_aprildiscussion ON cscart_aprildiscussion.object_id = cscart_aprilproducts.product_id 
  AND cscart_aprildiscussion.object_type = 'P' 
  LEFT JOIN cscart_aprilproduct_review_prepared_data ON cscart_aprilproduct_review_prepared_data.product_id = cscart_aprilproducts.product_id 
  AND cscart_aprilproduct_review_prepared_data.storefront_id = 0 
WHERE 
  cscart_aprilproducts.product_id = 238 
  AND (
    companies.status IN ('A') 
    OR cscart_aprilproducts.company_id = 0
  ) 
GROUP BY 
  cscart_aprilproducts.product_id

Query time 0.00203

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1.77"
    },
    "grouping_operation": {
      "using_filesort": false,
      "nested_loop": [
        {
          "table": {
            "table_name": "point_prices",
            "access_type": "system",
            "possible_keys": [
              "unique_key",
              "src_k"
            ],
            "rows_examined_per_scan": 0,
            "rows_produced_per_join": 1,
            "filtered": "0.00",
            "const_row_not_found": true,
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "24"
            },
            "used_columns": [
              "product_id",
              "point_price",
              "lower_limit",
              "usergroup_id"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_aprilproducts",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY",
              "status"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "product_id"
            ],
            "key_length": "3",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "4K"
            },
            "used_columns": [
              "product_id",
              "product_code",
              "product_type",
              "status",
              "company_id",
              "list_price",
              "amount",
              "weight",
              "length",
              "width",
              "height",
              "shipping_freight",
              "low_avail_limit",
              "timestamp",
              "updated_timestamp",
              "usergroup_ids",
              "is_edp",
              "edp_shipping",
              "unlimited_download",
              "tracking",
              "free_shipping",
              "zero_price_action",
              "is_pbp",
              "is_op",
              "is_oper",
              "is_returnable",
              "return_period",
              "avail_since",
              "out_of_stock_actions",
              "localization",
              "min_qty",
              "max_qty",
              "qty_step",
              "list_qty_count",
              "tax_ids",
              "age_verification",
              "age_limit",
              "options_type",
              "exceptions_type",
              "details_layout",
              "shipping_params",
              "show_videos_before_images",
              "autoplay_videos",
              "facebook_obj_type",
              "parent_product_id",
              "buy_now_url",
              "units_in_product",
              "show_price_per_x_units",
              "enable_print_product",
              "ec_clipart_lists"
            ]
          }
        },
        {
          "table": {
            "table_name": "popularity",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY",
              "total"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "product_id"
            ],
            "key_length": "3",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "32"
            },
            "used_columns": [
              "product_id",
              "total"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_aprilproduct_sales",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY",
              "pa"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "category_id",
              "product_id"
            ],
            "key_length": "6",
            "ref": [
              "const",
              "const"
            ],
            "rows_examined_per_scan": 0,
            "rows_produced_per_join": 1,
            "filtered": "0.00",
            "unique_row_not_found": true,
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "16"
            },
            "used_columns": [
              "category_id",
              "product_id",
              "amount"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_aprilproducts_categories",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY",
              "pt"
            ],
            "key": "pt",
            "used_key_parts": [
              "product_id"
            ],
            "key_length": "3",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "1.00",
              "eval_cost": "0.20",
              "prefix_cost": "1.20",
              "data_read_per_join": "16"
            },
            "used_columns": [
              "product_id",
              "category_id",
              "link_type",
              "category_position"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_aprilcategories",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY",
              "c_status",
              "p_category_id"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "category_id"
            ],
            "key_length": "3",
            "ref": [
              "vishalecarter_april_setup.cscart_aprilproducts_categories.category_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "5.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.01",
              "prefix_cost": "1.40",
              "data_read_per_join": "133"
            },
            "used_columns": [
              "category_id",
              "storefront_id",
              "usergroup_ids",
              "status"
            ],
            "attached_condition": "((`vishalecarter_april_setup`.`cscart_aprilcategories`.`storefront_id` in (0,1)) and ((`vishalecarter_april_setup`.`cscart_aprilcategories`.`usergroup_ids` = '') or find_in_set(0,`vishalecarter_april_setup`.`cscart_aprilcategories`.`usergroup_ids`) or find_in_set(1,`vishalecarter_april_setup`.`cscart_aprilcategories`.`usergroup_ids`)) and (`vishalecarter_april_setup`.`cscart_aprilcategories`.`status` in ('A','H')))"
          }
        },
        {
          "table": {
            "table_name": "cscart_aprilproduct_prices",
            "access_type": "range",
            "possible_keys": [
              "usergroup",
              "product_id",
              "lower_limit",
              "usergroup_id"
            ],
            "key": "usergroup",
            "used_key_parts": [
              "product_id",
              "usergroup_id",
              "lower_limit"
            ],
            "key_length": "9",
            "rows_examined_per_scan": 2,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "using_join_buffer": "Block Nested Loop",
            "cost_info": {
              "read_cost": "0.13",
              "eval_cost": "0.02",
              "prefix_cost": "1.55",
              "data_read_per_join": "2"
            },
            "used_columns": [
              "product_id",
              "price",
              "percentage_discount",
              "lower_limit",
              "usergroup_id"
            ],
            "attached_condition": "(<if>(found_match(cscart_aprilproduct_prices), 1, true) and <if>(is_not_null_compl(cscart_aprilproduct_prices), ((`vishalecarter_april_setup`.`cscart_aprilproduct_prices`.`lower_limit` = 1) and (`vishalecarter_april_setup`.`cscart_aprilproduct_prices`.`product_id` = 238) and (`vishalecarter_april_setup`.`cscart_aprilproduct_prices`.`usergroup_id` in (0,0,1))), true))"
          }
        },
        {
          "table": {
            "table_name": "cscart_aprilproduct_descriptions",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY",
              "product_id"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "product_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.02",
              "prefix_cost": "1.57",
              "data_read_per_join": "467"
            },
            "used_columns": [
              "product_id",
              "lang_code",
              "product",
              "shortname",
              "short_description",
              "full_description",
              "meta_keywords",
              "meta_description",
              "search_words",
              "page_title",
              "age_warning_message",
              "promo_text",
              "unit_name"
            ]
          }
        },
        {
          "table": {
            "table_name": "company_descr",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "company_id",
              "lang_code"
            ],
            "key_length": "10",
            "ref": [
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.02",
              "prefix_cost": "1.59",
              "data_read_per_join": "176"
            },
            "used_columns": [
              "company_id",
              "lang_code",
              "i18n_company"
            ]
          }
        },
        {
          "table": {
            "table_name": "companies",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "company_id"
            ],
            "key_length": "4",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.02",
              "prefix_cost": "1.61",
              "data_read_per_join": "636"
            },
            "used_columns": [
              "company_id",
              "status"
            ],
            "attached_condition": "<if>(found_match(companies), ((`vishalecarter_april_setup`.`companies`.`status` = 'A') or 0), true)"
          }
        },
        {
          "table": {
            "table_name": "cscart_aprilseo_names",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY",
              "dispatch"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "type",
              "dispatch",
              "lang_code"
            ],
            "key_length": "206",
            "ref": [
              "const",
              "const",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.10",
              "eval_cost": "0.02",
              "prefix_cost": "1.73",
              "data_read_per_join": "173"
            },
            "used_columns": [
              "name",
              "object_id",
              "type",
              "dispatch",
              "path",
              "lang_code"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_aprildiscussion",
            "access_type": "const",
            "possible_keys": [
              "object_id"
            ],
            "key": "object_id",
            "used_key_parts": [
              "object_id",
              "object_type"
            ],
            "key_length": "6",
            "ref": [
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.02",
              "prefix_cost": "1.75",
              "data_read_per_join": "2"
            },
            "used_columns": [
              "object_id",
              "object_type",
              "type"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_aprilproduct_review_prepared_data",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "product_id",
              "storefront_id"
            ],
            "key_length": "7",
            "ref": [
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.02",
              "prefix_cost": "1.77",
              "data_read_per_join": "1"
            },
            "used_columns": [
              "product_id",
              "storefront_id",
              "average_rating",
              "reviews_count"
            ]
          }
        }
      ]
    }
  }
}

Result

product_id product_code product_type status company_id list_price amount weight length width height shipping_freight low_avail_limit timestamp updated_timestamp usergroup_ids is_edp edp_shipping unlimited_download tracking free_shipping zero_price_action is_pbp is_op is_oper is_returnable return_period avail_since out_of_stock_actions localization min_qty max_qty qty_step list_qty_count tax_ids age_verification age_limit options_type exceptions_type details_layout shipping_params show_videos_before_images autoplay_videos facebook_obj_type parent_product_id buy_now_url units_in_product show_price_per_x_units enable_print_product ec_clipart_lists lang_code product shortname short_description full_description meta_keywords meta_description search_words page_title age_warning_message promo_text unit_name price category_ids popularity company_name sales_amount seo_name seo_path point_price discussion_type average_rating product_reviews_count
238 Q0238LW6GY P A 1 552.00 10 0.000 0 0 0 0.00 0 1328731200 1383894378 0 N N N N Y N N Y 10 0 N 6 N 0 default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} N N 0 0.000 1.000 N en Apple iPhone 4S Black <p> 16GB iPhone 4S locked AT&amp;T model. Will work on AT&amp;T. Now you can use your voice to use your iPhone. Just talk to Siri as you would to a person: "Do I need an umbrella?" or "Any great burgers around here?" or "Where's the closest ATM?" Siri not only understands what you say, it knows what you mean.1 It figures out the right apps to use to find the right answer. Then, just like a personal assistant, it answers you. Siri makes phone calls, sends messages, schedules meetings, sets reminders, and more. How much more? Just ask, and Siri tells you that, too. Two cores in the A5 chip deliver up to two times more power and up to seven times faster graphics.2 And you'll feel the effects. Fast. iPhone 4S is quick and responsive, which makes all the difference when you're launching apps, browsing the web, gaming, and doing just about everything. And no matter what you're doing, you can keep on doing it. Because the A5 chip is so power-efficient, iPhone 4S has outstanding battery life. This just might be the best camera ever on a phone. And with all-new optics, it just might be the only camera you need. Because behind every shot, you've got 8-megapixel resolution and a custom lens with a larger f/2.4 aperture. Not to mention an improved backside illumination sensor, excellent auto white balance, advanced color accuracy, face detection, and reduced motion blur. It all means that no matter how many people, how much light, and how much action you capture, everything looks exactly as it should. And just wait until you see the photos. Shoot stunning 1080p HD video everywhere you go. With all-new optics, the light is always right, the color is always vivid, and everything will look even better than you remember. Video stabilization steadies shaky shots. And you can edit video right on iPhone and share your lush life as fast as you shoot. </p> <p class="product-promo-text"><span class="product-promo-header">FREE US shipping over $100!</span><span class="product-promo-body">Orders within next 2 days will be shipped on Monday</span></p> 499.99000000 235M 84 CS-Cart apple-iphone-4s-black 166/234/235 B 4.00 1