SELECT 
  cscart_product_descriptions.product_id, 
  cscart_product_descriptions.short_description, 
  IF(
    cscart_product_descriptions.short_description = '' 
    OR cscart_product_descriptions.short_description IS NULL, 
    cscart_product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  cscart_product_descriptions 
WHERE 
  cscart_product_descriptions.product_id IN (
    366950, 366949, 366948, 366947, 366946, 
    366945, 366944, 366943, 366942, 366941, 
    366940, 366939, 366938, 366937, 366936, 
    366934, 366933, 366932, 366931, 366930
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00177

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "28.04"
    },
    "table": {
      "table_name": "cscart_product_descriptions",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "product_id"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id",
        "lang_code"
      ],
      "key_length": "9",
      "rows_examined_per_scan": 20,
      "rows_produced_per_join": 20,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "24.04",
        "eval_cost": "4.00",
        "prefix_cost": "28.04",
        "data_read_per_join": "136K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ],
      "attached_condition": "((`webmarco`.`cscart_product_descriptions`.`product_id` in (366950,366949,366948,366947,366946,366945,366944,366943,366942,366941,366940,366939,366938,366937,366936,366934,366933,366932,366931,366930)) and (`webmarco`.`cscart_product_descriptions`.`lang_code` = 'en'))"
    }
  }
}

Result

product_id short_description full_description
366930 <h2 style="color:#000000;font-size:30px;"> Hand Towel Roll- LB 12/450 - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> Designed for Towel Roll dispensers this roll towel is perfect for all washroom applications plus many other areas where hand towels are needed. <br /> <br /> Soft and strong to offer good absorbency. </p>
366931 <h2 style="color:#000000;font-size:30px;"> Hand Towel Roll- LB 2/1500 - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> Designed for Towel Roll dispensers this roll towel is perfect for all washroom applications plus many other areas where hand towels are needed. <br /> <br /> Soft and strong to offer good absorbency. </p>
366932 <h2 style="color:#000000;font-size:30px;"> Toilet Paper - LTC 6/500- (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> Promotion Restriction: Not for Promotion, <br /> Color: White, <br /> Green Environmental Attribute: Contains post-consumer and reclaimed fiber content per EPA's comprehensive procurement guidelines <br /> </p>
366933 <h2 style="color:#000000;font-size:30px;"> Toilet Paper - LTC 6/700 - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> Promotion Restriction: Not for Promotion, <br /> Color: White, <br /> Green Environmental Attribute: Contains post-consumer and reclaimed fiber content per EPA's comprehensive procurement guidelines <br /> </p>
366934 <h2 style="color:#000000;font-size:30px;"> Toilet Paper - LTC 12/400 - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> Promotion Restriction: Not for Promotion, <br /> Color: White, <br /> Green Environmental Attribute: Contains post-consumer and reclaimed fiber content per EPA's comprehensive procurement guidelines <br /> </p>
366936 <h2 style="color:#000000;font-size:30px;"> Toilet Paper - LT 30/100 - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> Promotion Restriction: Not for Promotion, <br /> Color: White, <br /> Green Environmental Attribute: Contains post-consumer and reclaimed fiber content per EPA's comprehensive procurement guidelines <br /> </p>
366937 <h2 style="color:#000000;font-size:30px;"> Toilet Paper - LT 24/175 - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> Promotion Restriction: Not for Promotion, <br /> Color: White, <br /> Green Environmental Attribute: Contains post-consumer and reclaimed fiber content per EPA's comprehensive procurement guidelines <br /> </p>
366938 <h2 style="color:#000000;font-size:30px;"> Toilet Paper - LT 12/300 - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> Promotion Restriction: Not for Promotion, <br /> Color: White, <br /> Green Environmental Attribute: Contains post-consumer and reclaimed fiber content per EPA's comprehensive procurement guidelines <br /> </p>
366939 <h2 style="color:#000000;font-size:30px;"> Toilet Paper - LT 12/400 - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> Promotion Restriction: Not for Promotion, <br /> Color: White, <br /> Green Environmental Attribute: Contains post-consumer and reclaimed fiber content per EPA's comprehensive procurement guidelines <br /> </p>
366940 <h2 style="color:#000000;font-size:30px;"> Toilet Paper - LT 12/500 - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> Promotion Restriction: Not for Promotion, <br /> Color: White, <br /> Green Environmental Attribute: Contains post-consumer and reclaimed fiber content per EPA's comprehensive procurement guidelines <br /> </p>
366941 <h2 style="color:#000000;font-size:30px;"> Toilet Paper - LTV 30/130 - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> Promotion Restriction: Not for Promotion, <br /> Color: White, <br /> Green Environmental Attribute: Contains post-consumer and reclaimed fiber content per EPA's comprehensive procurement guidelines <br /> </p>
366942 <h2 style="color:#000000;font-size:30px;"> Toilet Paper - LTV 30/190 - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> Promotion Restriction: Not for Promotion, <br /> Color: White, <br /> Green Environmental Attribute: Contains post-consumer and reclaimed fiber content per EPA's comprehensive procurement guidelines <br /> </p>
366943 <h2 style="color:#000000;font-size:30px;"> Toilet Paper - LTV 30/200 - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> Promotion Restriction: Not for Promotion, <br /> Color: White, <br /> Green Environmental Attribute: Contains post-consumer and reclaimed fiber content per EPA's comprehensive procurement guidelines <br /> </p>
366944 <h2 style="color:#000000;font-size:30px;"> Medical Paper Roll - LSH 3/1000 - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> It is highly breathable, hypoallergenic and latex free. It maintains skin integrity and comfort even during extended application - making it ideal for storage and use in office workplaces, medical facilities and other relevant work areas. This tape is also gentle on the skin and hypoallergenic. <br /> White, easy to tear paper adhesive tape <br /> Gentle on the skin and hypoallergenic <br /> Holds well to damp skin </p>
366945 <h2 style="color:#000000;font-size:30px;"> Medical Paper Roll - LSH 3/1500 - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> It is highly breathable, hypoallergenic and latex free. It maintains skin integrity and comfort even during extended application - making it ideal for storage and use in office workplaces, medical facilities and other relevant work areas. This tape is also gentle on the skin and hypoallergenic. <br /> White, easy to tear paper adhesive tape <br /> Gentle on the skin and hypoallergenic <br /> Holds well to damp skin </p>
366946 <h2 style="color:#000000;font-size:30px;"> Medical Paper Roll - LSH 3/2500 - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> It is highly breathable, hypoallergenic and latex free. It maintains skin integrity and comfort even during extended application - making it ideal for storage and use in office workplaces, medical facilities and other relevant work areas. This tape is also gentle on the skin and hypoallergenic. <br /> White, easy to tear paper adhesive tape <br /> Gentle on the skin and hypoallergenic <br /> Holds well to damp skin </p>
366947 <h2 style="color:#000000;font-size:30px;"> Detergents- (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> </p>
366948 <h2 style="color:#000000;font-size:30px;"> Fresh Air - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> </p>
366949 <h2 style="color:#000000;font-size:30px;"> Rubbish Bags - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> Eco-Friendly Trash Bags | Garbage Bags Used in Hotels, Offices and Kitchen </p>
366950 <h2 style="color:#000000;font-size:30px;"> Dispensers for paper & liquids - (AFSH) Away From Home </h2> <p style="color:#000000;font-size:20px;"> Simple and stylish wall mounted Hand Sanitizer Dispenser, ideal for a wealth of environments including retail, hospitality, leisure, office and factory. Supplied as standard, in plain white, this versatile dispenser is simple to self-brand with adhesive labels. </p>