SELECT 
  q_product_descriptions.product_id, 
  q_product_descriptions.short_description, 
  IF(
    q_product_descriptions.short_description = '', 
    q_product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  q_product_descriptions 
WHERE 
  q_product_descriptions.product_id IN (
    2867, 2868, 2869, 2870, 2871, 2872, 2873, 
    2874, 2875, 2876, 2877, 2878, 2879, 
    2880, 2717, 2718, 2719, 2720, 2721, 
    2722, 2723, 2725, 2726, 2727, 2728, 
    2729, 2730, 2731, 2732, 2733
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00069

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "72.01"
    },
    "table": {
      "table_name": "q_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": 30,
      "rows_produced_per_join": 30,
      "filtered": "100.00",
      "index_condition": "((`portal`.`q_product_descriptions`.`product_id` in (2867,2868,2869,2870,2871,2872,2873,2874,2875,2876,2877,2878,2879,2880,2717,2718,2719,2720,2721,2722,2723,2725,2726,2727,2728,2729,2730,2731,2732,2733)) and (`portal`.`q_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "66.01",
        "eval_cost": "6.00",
        "prefix_cost": "72.01",
        "data_read_per_join": "114K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id short_description full_description
2717 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Aventus by Creed Eau De Parfum Spray 3.4 OZ/100 ml for Men</span></li><li><span class="a-list-item">Creed</span></li><li><span class="a-list-item">For men.</span></li></ul>
2718 <ul><li>Brand:Creed Millesime.</li><li>Fragrance type: Eau De Parfum</li><li>Size: 250ML</li><li>Product Code: 8709</li></ul>
2719 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">All our fragrances are 100% originals by their original designers.</span></li><li><span class="a-list-item">This item is by designer Creed.</span></li><li><span class="a-list-item">Due to manufacturer packaging changes, product packaging may vary from image shown.</span></li></ul>
2720 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Men's Fragrance</span></li><li><span class="a-list-item">Fragrance: floral</span></li><li><span class="a-list-item">Eau de Parfum</span></li></ul>
2721 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">All our fragrances are 100% originals by their original designers.</span></li><li><span class="a-list-item">This item is by designer Creed.</span></li><li><span class="a-list-item">Due to manufacturer packaging changes, product packaging may vary from image shown.</span></li></ul>
2722 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Brand : Creed</span></li><li><span class="a-list-item">Fragrance Type : Eau de Parfum</span></li><li><span class="a-list-item">Size : 75ml</span></li><li><span class="a-list-item">Targeted Group : Unisex</span></li><li><span class="a-list-item">Fragrance Family : Floral & Fruity</span></li><li><span class="a-list-item">Perfume Name : CREED Jardin d'Amalfi eau de parfum 75ml</span></li><li><span class="a-list-item">Are batteries needed to power the product or is this product a battery : No</span></li></ul>
2723 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">The brand is still owned by the family</span></li><li><span class="a-list-item">Highly hydrating properties</span></li><li><span class="a-list-item">Rich anti-aging skin care</span></li></ul>
2725 <div class="centerColAlign" style="margin-right:270px;margin-left:610.531px;color:rgb(17,17,17);font-family:'Amazon Ember', Arial, sans-serif;font-size:13px;background-color:rgb(255,255,255);"><div class="feature"><div class="a-section a-spacing-medium a-spacing-top-small" style="margin-bottom:0px;margin-top:10px;"><ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Launched by the design house of creed</span></li><li><span class="a-list-item">This woody spicy fragrance has a blend of ginger, bergamot, mandarin orange, musk, amber, sandalwood, and vetiver</span></li><li><span class="a-list-item">It is recommended for normal use</span></li></ul></div></div><div class="feature"></div><div class="feature"></div><div class="feature"></div><div></div><div class="feature"></div><div class="feature"></div><div class="feature"></div><div class="feature"></div><div class="feature"></div><div class="feature"></div><div class="feature"></div><div class="feature"></div></div><div class="centerColAlign" style="margin-right:270px;margin-left:610.531px;color:rgb(17,17,17);font-family:'Amazon Ember', Arial, sans-serif;font-size:13px;background-color:rgb(255,255,255);"><div class="feature"></div></div>
2726 <p>The House of Creed releases Royal Mayfair, a vaulted scent bespoke for the Duke of Windsor. Royal Mayfair debuts nearly 80 years after its original commission as one of the brand’s most coveted accords. Known as London’s most posh neighborhood, Mayfair thrives as one of the globe's most desirable fashion hubs, toting high-end labels that attract the super-stylish and elite. Originally launched to the public as Windsor in 2009, it was reissued in 2010 and 2011 in limited quantities. Renamed Royal Mayfair, fashionable and daring, it celebrates all men of style and London’s premier fashion destination. The Mayfair district is home to our London-based Creed boutique.</p>
2727 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">All our fragrances are 100% originals by their original designers.</span></li><li><span class="a-list-item">This item is by designer Creed.</span></li><li><span class="a-list-item">Due to manufacturer packaging changes, product packaging may vary from image shown.</span></li></ul>
2728 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Brand: Creed</span></li><li><span class="a-list-item">Fragrance Type: Eau de Parfum</span></li><li><span class="a-list-item">Size: 100ml</span></li><li><span class="a-list-item">Targeted Group: Unisex</span></li><li><span class="a-list-item">Fragrance Family: Oriental & Citrus</span></li><li><span class="a-list-item">Perfume Name: Silver Mountain Water</span></li><li><span class="a-list-item">Release Date: 1995</span></li></ul>
2729 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">All our fragrances are 100% originals by their original designers.</span></li><li><span class="a-list-item">This item is by designer Creed.</span></li><li><span class="a-list-item">Due to manufacturer packaging changes, product packaging may vary from image shown.</span></li></ul>
2730 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Targeted Group : Women</span></li><li><span class="a-list-item">Perfume Name : Creed Les Royales</span></li><li><span class="a-list-item">Fragrance Family : Oriental & Floral</span></li><li><span class="a-list-item">Brand : Creed</span></li></ul>
2731 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">All our Fragrances, Perfumes etc are 100% Authentic Brands</span></li><li><span class="a-list-item">Mostly we ship same day</span></li><li><span class="a-list-item">Will Provide Shipping info and Tracking number.</span></li></ul>
2732 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Sensual men's fragrance</span></li><li><span class="a-list-item">Viking Homme/Man Eau de Parfum</span></li><li><span class="a-list-item">Made in France</span></li></ul>
2733 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Edu de perfume</span></li><li><span class="a-list-item">Targeted Group Women</span></li><li><span class="a-list-item">latest fragrance</span></li></ul>
2867 <p>rada Candy Florale is the third fragrance in the Prada Candy collection. The original Candy was launched in 2011, followed by Candy L'Eau in 2013, with Candy Florale expected in the market as of April 2014. Perfumer Daniel Roche) Andrier created all three of them.Prada Candy Florale is announced as an exciting Floral fragrance full of life and sensuality, inspired by an imaginary flower that smells like caramel or a bouquet of flowers standing on the counter of an ice cream shop in Italy. This romantic and powdered composition contains the top, lemon peon flower chords in the heart and the base composed of benzoin, musk, caramel and honey.The bottle and the box are of standard signature design, this time Colored in soft shades of pink and decorated with flower motifs.</p>
2868
2869
2870
2871
2872 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Launched by the design house of prada</span></li><li><span class="a-list-item">This aromatic fragrance has a blend of orange, lavender, sage, spearmint, ambrette, and ambroxan</span></li><li><span class="a-list-item">Provides long lasting fragrance</span></li><li><span class="a-list-item">This pack contains 1 perfum 50m</span></li></ul>
2873
2874
2875
2876
2877
2878
2879
2880