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 (
    9725, 9726, 9727, 9728, 9729, 9730, 9731, 
    9732, 9733, 9734, 9735, 9736, 9737, 
    9738, 9739, 9740
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00054

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 (9725,9726,9727,9728,9729,9730,9731,9732,9733,9734,9735,9736,9737,9738,9739,9740)) 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
9725 <ul><li>Military-grade drop protection (MIL-STD-810G, SGS-certified)</li> <li>MultiStrap for a secure grip while taking selfies</li> <li>Kickstand mode for watching videos</li> <li>Raised bezel protects your touchscreen when laid flat</li> <li>Compatible with wireless charging</li> </ul>
9726 <ul><li>Military-grade drop protection (MIL-STD-810G, SGS-certified)</li> <li>MultiStrap for a secure grip while taking selfies</li> <li>Kickstand mode for watching videos</li> <li>Raised bezel protects your touchscreen when laid flat</li> <li>Compatible with wireless charging</li> </ul>
9727 <ul><li>Military-grade drop protection (MIL-STD-810G, SGS-certified)</li> <li>MultiStrap for a secure grip while taking selfies</li> <li>Kickstand mode for watching videos</li> <li>Raised bezel protects your touchscreen when laid flat</li> <li>Compatible with wireless charging</li> </ul>
9728 <ul><li>Prevent side-snoopers from viewing what's on your phone</li> <li>Atomically-strengthened: stronger than tempered glass</li> <li>Precision-molded to fit your device's curved touchscreen</li> <li>Up to 40% thinner than generic glass screen protectors</li> <li>Oleophobic coating for easily wiping away fingerprints</li> </ul>
9729 <ul><li>Prevent side-snoopers from viewing what's on your phone</li> <li>Atomically-strengthened: stronger than tempered glass</li> <li>Precision-molded to fit your device's curved touchscreen</li> <li>Up to 40% thinner than generic glass screen protectors</li> <li>Oleophobic coating for easily wiping away fingerprints</li> </ul>
9730 <ul><li>Prevent side-snoopers from viewing what's on your phone</li> <li>Atomically-strengthened: stronger than tempered glass</li> <li>Precision-molded to fit your device's curved touchscreen</li> <li>Up to 40% thinner than generic glass screen protectors</li> <li>Oleophobic coating for easily wiping away fingerprints</li> </ul>
9731 <ul><li>Military-grade drop protection (MIL-STD-810G, SGS-certified)</li> <li>TriClear coating resists water, dirt, and scratches</li> <li>Raised bezel protects your touchscreen when laid flat</li> <li>Compatible with Moshi’s SnapTo Mounting System</li> <li>Compatible with wireless charging</li> </ul>
9732 <ul><li><span class="a-list-item">Military-grade drop protection (MIL-STD-810G, SGS-certified)</span></li> <li><span class="a-list-item">Detachable wrist strap for hands-free convenience</span></li> <li><span class="a-list-item">Silicone pattern for improved grip when taking photos</span></li> <li><span class="a-list-item">Compatible with Moshi’s SnapTo Mounting System, Not compatible with other magnetic mounting systems</span></li> <li><span class="a-list-item">Compatible with wireless charging</span></li> </ul>
9733 <ul><li><span style="font-size:12px;">2 X 2.1 A (10 W) to charge two devices simultaneously</span></li> <li><span style="font-size:12px;">Includes a detachable Lightning sync/ charge USB cable that extends up to 1.8 m</span></li> <li><span>Integrated LED indicator light for convenient night use</span></li> <li><span style="font-size:12px;">Smart power management circuit design with over-current and over-charge </span><span style="font-size:12px;">protection</span></li> </ul>
9734 <div> <div class="container"> <div class="tab-details"> <div> <ul><li>Provides up to 35 W total power output across USB-C and USB-A ports.</li> <li>Supports USB-C PD 3.0 profile (5/9/15 V) with power output up to 30 W.</li> <li>Smart power management circuitry optimizes charging efficiency and provides over-charge protection.</li> <li>Compact design with LED indicator for convenient night use.</li> <li>Premium aluminum faceplate to match any car interior.</li> </ul></div> </div> </div> </div> <div> <div class="container"> </div> </div>
9735 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">USB-C port (30 W) for charging any USB-C device.</span></li> <li><span class="a-list-item">Supports USB PD 3.0 profile (5/9/15 V).</span></li> <li><span class="a-list-item">USB-A port (12 W) for fast-charging any phone or tablet.</span></li> <li><span class="a-list-item">US DoE Energy Level VI-compliant.</span></li> <li><span class="a-list-item">Safeguard your device with voltage/current/temperature protection.</span></li> </ul>
9736 <ul><li>Stylish aluminum casing with vegan leather accents.</li> <li>Hideaway Lightning and USB cables with a sleek folding design.</li> <li>Fast-charging at 2.4 amps (24 watts total).</li> <li>Fully charge your iPhone 4 times with 10,300 mAh lithium-polymer cells.</li> <li>SmartSense circuitry charges connected devices and recharges IonBank at the same time.</li> <li>One extra USB port for charging 2 devices simultaneously</li> </ul>
9737 <ul><li>Stylish aluminum casing with vegan leather accents.</li> <li>Hideaway Lightning and USB cables with a sleek folding design.</li> <li>Fast-charging at 2.4 amps (24 watts total).</li> <li>Fully charge your iPhone 4 times with 10,300 mAh lithium-polymer cells.</li> <li>SmartSense circuitry charges connected devices and recharges IonBank at the same time.</li> <li>One extra USB port for charging 2 devices simultaneously</li> </ul>
9738 <ul><li><span class="a-list-item">Ultra-slim profile at only 8.5 mm thin with a premium anodized aluminum casing</span></li> <li><span class="a-list-item">Dual-role USB-C port: charge any USB-C device and also recharge IonSlim</span></li> <li><span class="a-list-item">USB-A port for charging iOS devices and other accessories</span></li> <li><span class="a-list-item">Reversible USB-A to USB-C charging cable included</span></li> <li><span class="a-list-item">Lithium-polymer cells: 5,150 mAh capacity, 15 W output (3 A/5 V)</span></li> </ul>
9739 <ul><li><span class="a-list-item">Ultra-slim profile at only 8.5 mm thin with a premium anodized aluminum casing</span></li> <li><span class="a-list-item">Dual-role USB-C port: charge any USB-C device and also recharge IonSlim</span></li> <li><span class="a-list-item">USB-A port for charging iOS devices and other accessories</span></li> <li><span class="a-list-item">Reversible USB-A to USB-C charging cable included</span></li> <li><span class="a-list-item">Lithium-polymer cells: 5,150 mAh capacity, 15 W output (3 A/5 V)</span></li> </ul>
9740 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Supports USB PD 3.0 profile (5/9/15/20 V) for fast charging any USB-C device.</span></li> <li><span class="a-list-item">Compact and lightweight design.</span></li> <li><span class="a-list-item">Integrated Smart LED charging indicator.</span></li> <li><span class="a-list-item">US DoE Energy Level VI-compliant.</span></li> <li><span class="a-list-item">Safeguard your device with voltage/current/temperature protection.</span></li> </ul>