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 (
    9869, 9870, 9871, 9872, 9873, 9874, 9875, 
    9876, 9877, 9878, 9879, 9880, 9881, 
    9882, 9883, 9884
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00123

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 (9869,9870,9871,9872,9873,9874,9875,9876,9877,9878,9879,9880,9881,9882,9883,9884)) 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
9869 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Protective suspended tech Cell keeps your laptop away from impact zones</span></li> <li><span class="a-list-item">Zip pockets for cables chargers and more</span></li> <li><span class="a-list-item">Rear luggage pass through strap and adjustable removable shoulder strap</span></li> <li><span class="a-list-item">Constructed of durable water resistant fabric and padded shoulder straps and grab handle for comfort</span></li> </ul>
9870 <ul><li>Super protective polycarbonate and rubberised TPU bracket for even the most accident prone among us</li> <li>Transparent cover to customise your MacBook or allow your pristine device to shine through</li> <li>Ergonomic and form fitting design for a comfortable carry</li> <li>Textured rubber feet prevent your laptop from sliding on smooth surfaces</li> <li>Open hinge allows your MacBook to breathe and cool itself freely</li> <li>Simple installation with clip-on design</li> </ul>
9871 <ul><li>Super protective polycarbonate and rubberised TPU bracket for even the most accident prone among us</li> <li>Transparent cover to customise your MacBook or allow your pristine device to shine through</li> <li>Ergonomic and form fitting design for a comfortable carry</li> <li>Textured rubber feet prevent your laptop from sliding on smooth surfaces</li> <li>Open hinge allows your MacBook to breathe and cool itself freely</li> <li>Simple installation with clip-on design</li> </ul>
9872 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">ClearView polycarbonate allows full visual access to your device</span></li> <li><span class="a-list-item">Edge Guard features internal, clear TPU that protects from inadvertent bumps, drops, and scratches</span></li> <li><span class="a-list-item">Textured rubber Friction Feet prevent your laptop from sliding on smooth surfaces</span></li> <li><span class="a-list-item">Sandblasted metal badge with etched logo complements the materials, appearance, and feel of your MacBook Pro</span></li> <li><span class="a-list-item">Open hinge design structure allows your MacBook Pro to breathe and cool itself freely</span></li> </ul>
9873 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">ClearView polycarbonate allows full visual access to your device</span></li> <li><span class="a-list-item">Edge Guard features internal, clear TPU that protects from inadvertent bumps, drops, and scratches</span></li> <li><span class="a-list-item">Textured rubber Friction Feet prevent your laptop from sliding on smooth surfaces</span></li> <li><span class="a-list-item">Sandblasted metal badge with etched logo complements the materials, appearance, and feel of your MacBook Pro</span></li> <li><span class="a-list-item">Open hinge design structure allows your MacBook Pro to breathe and cool itself freely</span></li> </ul>
9874 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Polycarbonate TPU</span></li> <li><span class="a-list-item">Super durable fitted case for iPad Mini 1 2 3 or iPad Mini Retina</span></li> <li><span class="a-list-item">Rubberized edges and corners for extra protection</span></li> <li><span class="a-list-item">On off smart cover wakes and turns off the device</span></li> <li><span class="a-list-item">Patent pending magnetic closure secures the cover into closed viewing or typing positions Unique clear back panel for asset tagging or personalization</span></li> </ul>
9875 <ul><li>Drop tested to meet the U.S. Military Spe 810G durability tests</li> <li>Super protective polycarbonate and rubberized TPU bracket</li> <li>Translucent design celebrates the iPad Pro's design,and allows for easy asset tagging</li> <li>Works seamlessly with the Apple</li> <li>Smart Cover and Smart Keyboard</li> <li>Built-in storage and protection for Apple Pencil in a fitted channel</li> </ul>
9876 <ul><li>Drop tested to meet the U.S. Military Spec 810G durability tests</li> <li>Super protective polycarbonate and rubberized TPU bracket</li> <li>The translucent design celebrates the iPad Pro 's design, and allows for an easy asset tagging</li> <li>Works seamlessly with the Apple</li> <li>Smart Cover and Smart Keyboard</li> <li>Built-in storage and protection for Apple Pencil in a fitted channel</li> </ul>
9877 <ul><li> <ul><li>Drop tested to meet the U.S. Military Spec 810G durability tests</li> <li>Super protective polycarbonate and rubberized TPU bracket</li> <li>Translucent design celebrates the iPad Pro's design, and allows for easy asset tagging</li> <li>Works seamlessly with the Apple</li> <li>Smart Cover and Smart Keyboard</li> <li>Built-in storage and protection for Apple Pencil in a fitted channel</li> </ul></li> </ul>
9878 <ul><li>Drop tested to meet the U.S. Military Spec 810G durability tests</li> <li>Super protective polycarbonate and rubberized TPU bracket</li> <li>Translucent design celebrates the iPad Pro's design, and allows for easy asset tagging</li> <li>Works seamlessly with the Apple</li> <li>Smart Cover and Smart Keyboard</li> <li>Built-in storage and protection for Apple Pencil in a fitted channel</li> </ul>
9879 <ul><li>Drop tested to meet the U.S. Military Spec 810G durability tests</li> <li>Super protective polycarbonate and rubberized TPU bracket</li> <li>Translucent design celebrates the iPad Pro's design, and allows for easy asset tagging</li> <li>Works seamlessly with the Apple</li> <li>Smart Cover and Smart Keyboard</li> <li>Built-in storage and protection for Apple Pencil in a fitted channel</li> </ul>
9880 <p><span>A sleek fitted case with translucent design for iPad</span></p> <p><span>Provides your iPad with crystal clear protection</span></p> <p><span> Studio offers a hard shell polycarbonate bracket that guards your device from bumps and scratches and because it is transparent it allows your iPad to shine through</span></p> <p><span>The case has patented magnetic cover effortlessly folds into a stand for typing and viewing ease plus it boasts a secure closure with a unique magnetic wrap that wakes the device when opened and puts it to sleep when closed</span></p> <p><span> In addition, you will find there is easy access to all buttons and ports</span></p> <p><span>Its multi fit design is compatible with the new iPad 9 7 iPad Pro 9 7 iPad Air 2 and iPad Air</span></p>
9881 <ul><li>Slim and lightweight construction celebrates the iPad Pro’s form factor while providing excellent protection</li> <li>Drop tested to meet the US Military Spec 810G drop tests</li> <li>Super protective polycarbonate and rubberised TPU bracket for even the most accident prone among us</li> <li>Translucent back allows for user customisation or easy asset tagging for schools and businesses</li> <li>Works seamlessly with the Apple Smart Cover and Smart Keyboard</li> <li>Built in storage and protection for the Apple Pencil in a fitted channel</li> <li>Easy installation</li> </ul>
9882 <ul class="top-section-list"><li class="top-section-list-item">Fits Apple iPad Pro 10 point 5 inch</li> <li class="top-section-list-item">Polycarbonate and Rubberized Bracket</li> <li class="top-section-list-item">Store and Protect Apple Pencil</li> </ul>
9883 <ul class="top-section-list"><li class="top-section-list-item">Fits Apple iPad Pro 10 point 5 inch</li> <li class="top-section-list-item">Polycarbonate and Rubberized Bracket</li> <li class="top-section-list-item">Store and Protect Apple Pencil</li> </ul>
9884 <ul class="top-section-list"><li class="top-section-list-item">Fits Apple iPad Pro 10 point 5 inch</li> <li class="top-section-list-item">Polycarbonate and Rubberized Bracket</li> <li class="top-section-list-item">Store and Protect Apple Pencil</li> </ul>