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 (
    9885, 9886, 9887, 9888, 9889, 9890, 9891, 
    9892, 9893, 9894, 9895, 9896, 9897, 
    9898, 9899, 9900
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00051

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 (9885,9886,9887,9888,9889,9890,9891,9892,9893,9894,9895,9896,9897,9898,9899,9900)) 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
9885 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Exceeds US mil spec 810G drop Test 26 drops from 4 feet</span></li> <li><span class="a-list-item">Built in storage and protection for Apple Pencil in a fitted Channel</span></li> <li><span class="a-list-item">Patented magnet closure to stand feature Durable and water resistant polyurethane cover to ward off occasional drips or spills</span></li> <li><span class="a-list-item">Instant on off cover wakes and turns the Device off to save battery life</span></li> <li><span class="a-list-item">Translucent back allows for user customization or Easy asset tagging for schools and businesses</span></li> </ul>
9886 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Exceeds US mil spec 810G drop Test 26 drops from 4 feet</span></li> <li><span class="a-list-item">Built in storage and protection for Apple Pencil in a fitted Channel</span></li> <li><span class="a-list-item">Patented magnet closure to stand feature. Durable and water resistant polyurethane cover to ward off occasional drips or spills</span></li> <li><span class="a-list-item">Instant on off cover wakes and turns the Device off to save battery life</span></li> <li><span class="a-list-item">Translucent back allows for user customization or Easy asset tagging for schools and businesses</span></li> </ul>
9887 <div class="para-list"> <ul><li>Advanced protection to withstand heavy use in classrooms and work environments</li> <li>Tested to meet the U.S. Department of Defense Mil-Std 810G drop requirement</li> <li>Highly protective polycarbonate and rubberized TPU bracket to endure even the most accident-prone users</li> <li>Translucent back allows easy viewing of barcodes or other asset tags used in schools or businesses</li> <li>Built-in, secure storage and protection for Apple Pencil</li> <li>Patented magnetic closure allows easy folding for typing or viewing</li> <li>Instant on/off cover wakes iPad Pro and puts it to sleep to save battery power</li> <li>Durable, water-resistant polyurethane cover wards off drips or spills</li> </ul></div>
9888 <div class="para-list"> <ul><li>Advanced protection to withstand heavy use in classrooms and work environments</li> <li>Tested to meet the U.S. Department of Defense Mil-Std 810G drop requirement</li> <li>Highly protective polycarbonate and rubberized TPU bracket to endure even the most accident-prone users</li> <li>Translucent back allows easy viewing of barcodes or other asset tags used in schools or businesses</li> <li>Built-in, secure storage and protection for Apple Pencil</li> <li>Patented magnetic closure allows easy folding for typing or viewing</li> <li>Instant on/off cover wakes iPad Pro and puts it to sleep to save battery power</li> <li>Durable, water-resistant polyurethane cover wards off drips or spills</li> </ul></div>
9889 <div class="para-list"> <ul><li>Advanced protection to withstand heavy use in classrooms and work environments</li> <li>Tested to meet the U.S. Department of Defense Mil-Std 810G drop requirement</li> <li>Highly protective polycarbonate and rubberized TPU bracket to endure even the most accident-prone users</li> <li>Translucent back allows easy viewing of barcodes or other asset tags used in schools or businesses</li> <li>Built-in, secure storage and protection for Apple Pencil</li> <li>Patented magnetic closure allows easy folding for typing or viewing</li> <li>Instant on/off cover wakes iPad Pro and puts it to sleep to save battery power</li> <li>Durable, water-resistant polyurethane cover wards off drips or spills</li> </ul></div>
9890 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Exceeds US Mil-Spec 810G drop test 26 drops from 4 feet for the most accident prone among us</span></li> <li><span class="a-list-item">Infinity Stand accommodates nearly unlimited viewing angles for typing and drawing</span></li> <li><span class="a-list-item">Surface Pen storage allows magnetic connection for quick access while working, and rear storage discreetly secures the Surface Pen for travel</span></li> <li><span class="a-list-item">Fits Both Surface Pro 4 and Surface Pro 2017 with new Improved Hinges</span></li> <li><span class="a-list-item">Transparent back panel to customize your case with photos, asset tag for schools & businesses, or allow your pristine Surface Pro 4 or Surface Pro 2017 to shine through</span></li> </ul>
9891 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Mil Spec Approved tested to meet or exceed US Dept of Defense Standard 810G protocols 26 drops from 4 feet</span></li> <li><span class="a-list-item">Infinity Hinge accommodates a full 180 degree range of angles for typing drawing and viewing</span></li> <li><span class="a-list-item">Portrait horizontal viewing option with maximum stability</span></li> <li><span class="a-list-item">Integrated pen storage discreetly secures the instrument to the case while making it easily accessible</span></li> <li><span class="a-list-item">Seamless Type Cover compatibility</span></li> </ul>
9892 <ul><li><span>Lightweight and low profile design protects from bumps and scratches without adding bulk </span></li> <li><span>Textured fabric cover provides a simple and elegant wrap around your iPad Pro</span></li> <li><span>Protective Apple Pencil storage </span></li> <li><span>Multiple viewing modes front cover folds inwards to support typing and viewing orientation </span></li> <li><span>Instant on off cover magnetic closure activates sleep and wake functionality to save energy</span></li> <li><span>Easy access to all buttons and parts</span></li> </ul>
9893 <ul><li><span>Lightweight and low profile design protects from bumps and scratches without adding bulk </span></li> <li><span>Textured fabric cover provides a simple and elegant wrap around your iPad Pro</span></li> <li><span>Protective Apple Pencil storage </span></li> <li><span>Multiple viewing modes front cover folds inwards to support typing and viewing orientation </span></li> <li><span>Instant on off cover magnetic closure activates sleep and wake functionality to save energy</span></li> <li><span>Easy access to all buttons and parts</span></li> </ul>
9894 <ul><li><span>Lightweight and low profile design protects from bumps and scratches without adding bulk </span></li> <li><span>Textured fabric cover provides a simple and elegant wrap around your iPad Pro</span></li> <li><span>Protective Apple Pencil storage </span></li> <li><span>Multiple viewing modes front cover folds inwards to support typing and viewing orientation </span></li> <li><span>Instant on off cover magnetic closure activates sleep and wake functionality to save energy</span></li> <li><span>Easy access to all buttons and parts</span></li> </ul>
9895 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Super protective polycarbonate and rubberised TPU bracket for even the most accident prone among us</span></li> <li><span class="a-list-item">Patented magnetic closure allows for easy folding for typing or viewing</span></li> <li><span class="a-list-item">Designed to enable Apple Pencil wireless charging, while protecting your writing device</span></li> <li><span class="a-list-item">Instant on off cover wakes and turns the device off to save battery</span></li> <li><span class="a-list-item">Drop tested to meet the US Military Spec 810G drop requirement</span></li> </ul>
9896 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Super protective polycarbonate and rubberised TPU bracket for even the most accident prone among us</span></li> <li><span class="a-list-item">Patented magnetic closure allows for easy folding for typing or viewing</span></li> <li><span class="a-list-item">Designed to enable Apple Pencil wireless charging, while protecting your writing device</span></li> <li><span class="a-list-item">Instant on off cover wakes and turns the device off to save battery</span></li> <li><span class="a-list-item">Drop tested to meet the US Military Spec 810G drop requirement</span></li> </ul>
9897 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Super protective polycarbonate and rubberised TPU bracket for even the most accident prone among us</span></li> <li><span class="a-list-item">Patented magnetic closure allows for easy folding for typing or viewing</span></li> <li><span class="a-list-item">Designed to enable Apple Pencil wireless charging, while protecting your writing device</span></li> <li><span class="a-list-item">Instant on off cover wakes and turns the device off to save battery</span></li> <li><span class="a-list-item">Drop tested to meet the US Military Spec 810G drop requirement</span></li> </ul>
9898 <ul><li><span>Meets or exceeds US Mil Spec 810G drop test 26 drops from 4 feet for the most accident prone among us </span></li> <li><span>Infinity Stand accommodates nearly unlimited viewing angles for typing viewing or drawing</span></li> <li><span>Surface Pen storage allows magnetic connection for quick access while working and rear storage discreetly secures the Surface Pen for travel</span></li> <li><span>Transparent back panel to customise your case with photos asset tag for schools or businesses or allow your pristine Surface Pro 4 to shine through</span></li> <li><span>Access to all ports and buttons</span></li> <li><span>Ventilated design allows the Surface Pro and Surface Pro 4 to stay cool</span></li> <li><span>Textured bumper prevents sliding on slick surfaces</span></li> <li><span>Simple device installation / removal with no need for special tools</span></li> </ul>
9899 <ul><li><span>Lightweight and low profile design protects from bumps and scratches without adding bulk </span></li> <li><span>Textured fabric cover provides a simple and elegant wrap around your iPad Pro</span></li> <li><span>Protective Apple Pencil storage </span></li> <li><span>Multiple viewing modes front cover folds inwards to support typing and viewing orientation </span></li> <li><span>Instant on off cover magnetic closure activates sleep and wake functionality to save energy</span></li> <li><span>Easy access to all buttons and parts</span></li> </ul>
9900 <ul><li>Back side molded by high density thermoformed EVA: it can be used as a stand for using the MacBook while in the bag</li> <li>Elastic corner bands for hooking up the MacBook's display to the bag</li> <li>Tucano Anti-Slip System: Micronet internal band protecting the MacBook from the zipper and preventing slippage</li> <li>Two pockets that perfectly fit iPad mini, iPad Air and 12" tablets</li> </ul>