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 (
    9645, 9646, 9647, 9648, 9649, 9650, 9651, 
    9652, 9653, 9654, 9655, 9656, 9657, 
    9658, 9659, 9660
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00062

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "38.41"
    },
    "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": 16,
      "rows_produced_per_join": 16,
      "filtered": "100.00",
      "index_condition": "((`portal`.`q_product_descriptions`.`product_id` in (9645,9646,9647,9648,9649,9650,9651,9652,9653,9654,9655,9656,9657,9658,9659,9660)) and (`portal`.`q_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "35.21",
        "eval_cost": "3.20",
        "prefix_cost": "38.41",
        "data_read_per_join": "61K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id short_description full_description
9645 <span>Designed for use with a variety of smartphones</span><br /><span>Comfortably fits your finger</span><br /><span>Enamel finish</span>
9646 <ul><li>Designed for use with a variety of smartphones</li> <li>Comfortably fits your finger</li> <li>Enamel finish</li> </ul>
9647 <ul><li>Designed for use with a variety of smartphones</li> <li>Comfortably fits your finger</li> <li>Enamel finish</li> </ul>
9648 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Designed for the Apple new 2019 iPad Pro 12 9 inch with USB C only Not compatible with other iPad models</span></li> <li><span class="a-list-item">Simple 100 percent bubble free installation reduces fingerprints and smudging</span></li> <li><span class="a-list-item">Can be washed and reapplied repeatedly compatible with Apple Pencil</span></li> <li><span class="a-list-item">Ez glide surface treatment for better touch screen maneuverability</span></li> </ul>
9649 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Designed for the Apple new 2019 iPad Pro 12 9 inch with USB C only Not compatible with other iPad models</span></li> <li><span class="a-list-item">Simple 100 percent bubble free installation reduces fingerprints and smudging</span></li> <li><span class="a-list-item">Can be washed and reapplied repeatedly compatible with Apple Pencil</span></li> <li><span class="a-list-item">Ez glide surface treatment for better touch screen maneuverability</span></li> </ul>
9650 <ul><li><span class="a-list-item">High precision molding allows for unparalleled tactile response</span></li> <li><span class="a-list-item">Made with durable, non-toxic engineering-grade thermoplastic urethane</span></li> <li><span class="a-list-item">Completely washable and reusable</span></li> <li><span class="a-list-item">Measures 0.1mm thin (one-fifth the thickness of silicone protectors)</span></li> <li><span class="a-list-item">High transparency film allows backlit keys to shine through</span></li> </ul>
9651 <ul><li><span class="a-list-item">High precision molding allows for unparalleled tactile response</span></li> <li><span class="a-list-item">Made with durable, non-toxic engineering-grade thermoplastic urethane</span></li> <li><span class="a-list-item">Completely washable and reusable</span></li> <li><span class="a-list-item">Measures 0.1mm thin (one-fifth the thickness of silicone protectors)</span></li> <li><span class="a-list-item">High transparency film allows backlit keys to shine through</span></li> </ul>
9652 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Protect your keyboard and Touch Bar from crumbs and spills.</span></li> <li><span class="a-list-item">High precision molding is 100% form fitted to the Apple Keyboard keys allowing for unparalleled tactile response.</span></li> <li><span class="a-list-item">Made with durable, non-toxic engineering-grade thermoplastic urethane.</span></li> <li><span class="a-list-item">Measures 0.1 mm thin (one-fifth the thickness of silicone protectors).</span></li> <li><span class="a-list-item">High transparency film allows backlit keys to clearly shine through.</span></li> </ul>
9653 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Protect your keyboard and Touch Bar from crumbs and spills</span></li> <li><span class="a-list-item">High precision molding is 100 percent form fitted to the Apple Keyboard keys allowing for unparalleled tactile response</span></li> <li><span class="a-list-item">Made with durable non toxic engineering grade thermoplastic urethane</span></li> <li><span class="a-list-item">Measures 0 1 mm thin one fifth the thickness of silicone protectors</span></li> <li><span class="a-list-item">High transparency film allows backlit keys to clearly shine through</span></li> </ul>
9654 <ul><li>Engineered to provide a balanced and immersive sound</li> <li>Closed back, on-ear (supra-aural) design for excellent noise isolation</li> <li>Angled earcup design for improved comfort over extended periods</li> <li>Enhanced portability with a rotatable stainless steel headband and custom carrying case</li> <li>Detachable cable with built-in remote and microphone compatible with most phones and tablets</li> </ul>
9655 <ul><li>Engineered to provide a balanced and immersive sound</li> <li>Closed back, on-ear (supra-aural) design for excellent noise isolation</li> <li>Angled earcup design for improved comfort over extended periods</li> <li>Enhanced portability with a rotatable stainless steel headband and custom carrying case</li> <li>Detachable cable with built-in remote and microphone compatible with most phones and tablets</li> </ul>
9656 <ul><li><span>The perfect slim-fit solution for the back of your device.</span></li> <li><span>iGlaze excels at protecting from nicks and shocks without compromising on aesthetics</span></li> <li><span>Its ultra-slim profile ensures unhindered Smart Keyboard functionality, and all iPad Pro buttons remain easily accessible</span></li> <li><span>iGlaze is also surface-treated with a specialized coating to improve scratch-resistance and durability</span></li> </ul>
9657 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Proprietary technology ensures that iVisor is 100% bubble-free upon installation. .</span></li> <li><span class="a-list-item">Surface treatment provides enhanced scratch and fingerprint resistance.</span></li> <li><span class="a-list-item">iVisor can be washed and reapplied repeatedly.</span></li> <li><span class="a-list-item">High transparency ensures minimal impact to brightness.</span></li> </ul>
9658 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Proprietary technology ensures that iVisor is 100% bubble-free upon installation.</span></li> <li><span class="a-list-item">Surface treatment provides enhanced scratch and fingerprint resistance.</span></li> <li><span class="a-list-item">iVisor can be washed and reapplied repeatedly.</span></li> <li><span class="a-list-item">High transparency ensures minimal impact to brightness</span></li> </ul>
9659 <ul><li>Shock-absorbing frame offers durable, 360-degree protection.</li> <li>Unique origami folding cover doubles as a stand.</li> <li>Stand supports three viewing angles: typing, reading and browsing.</li> <li>Supports iPad's auto-wake/sleep function.</li> </ul>
9660 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Detachable Bluetooth keyboard with 130 hours of battery life and LED power indicator.</span></li> <li><span class="a-list-item">Folding VersaCover doubles as a stand in portrait and landscape modes.</span></li> <li><span class="a-list-item">Ultra-thin and lightweight design at 14.1 ounces (400 grams).</span></li> <li><span class="a-list-item">Support for iPad auto-wake and sleep functionality</span></li> </ul>