SELECT 
  cscart_product_descriptions.product_id, 
  cscart_product_descriptions.short_description, 
  IF(
    cscart_product_descriptions.short_description = '' 
    OR cscart_product_descriptions.short_description IS NULL, 
    cscart_product_descriptions.full_description, 
    ''
  ) AS full_description, 
  cscart_product_descriptions.unit_name 
FROM 
  cscart_product_descriptions 
WHERE 
  cscart_product_descriptions.product_id IN (
    367, 368, 369, 370, 355, 356, 357, 358, 
    359, 360, 361, 362, 352, 353, 354, 350, 
    349, 346, 345, 331, 335, 339, 341, 315, 
    289, 287, 286, 278, 280, 282, 247, 248
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00063

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "76.81"
    },
    "table": {
      "table_name": "cscart_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": 32,
      "rows_produced_per_join": 32,
      "filtered": "100.00",
      "index_condition": "((`pankajecarter_systemfour`.`cscart_product_descriptions`.`product_id` in (367,368,369,370,355,356,357,358,359,360,361,362,352,353,354,350,349,346,345,331,335,339,341,315,289,287,286,278,280,282,247,248)) and (`pankajecarter_systemfour`.`cscart_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "70.41",
        "eval_cost": "6.40",
        "prefix_cost": "76.81",
        "data_read_per_join": "146K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description",
        "unit_name"
      ]
    }
  }
}

Result

product_id short_description full_description unit_name
247 <p>Nokia N1 smartphone with 7.90-inch 2048x1536 display powered by 2.3GHz processor alongside 2GB RAM and 8-megapixel rear camera.</p>
248 <p>Xbox One's exterior casing consists of a two-tone "liquid black" finish; with half finished in a matte grey, and the other in a glossier black. The design was intended to evoke a more entertainment-oriented and simplified look than previous iterations of the console; among other changes.</p><div>It is powered by an AMD "Jaguar" Accelerated Processing Unit (APU) with two quad-core modules totaling eight x86-64 cores clocked at 1.75 GHz, and 8 GB of DDR3 RAM with a memory bandwidth of 68.3 GB/s. The memory subsystem also features an additional 32 MB of "embedded static" RAM, or ESRAM, with a memory bandwidth of 109 GB/s.</div>
278
280
282
286
287
289
315
331
335
339
341
345 <p>Hydration Capacity: 70 oz (2 L)<br><br>Total Capacity: 1000 cu in (16.39 L)<br><br>CamelBak®Got Your Bak&trade; Guarantee: If we built it, we'll Bak it&trade; with our lifetime guarantee. <br><br>Reservoir Features: 1/4 turn - easy open/close cap, lightweight fillport, dryer arms, center baffling and low-profile design, patented Big Bite&trade; Valve, HydroGuard&trade; technology, insulated PureFlow&trade; tube, easy-to-clean wide-mouth opening<br><br>BACK PANEL: Snowshed&trade;<br><br>HARNESS: S-Curved Women's Harness; Therminator&trade; provides easy access for frequent sipping, insulated and fully enclosed to protect against freezing<br><br>BELT: Removable 1" (25 mm) stability<br><br>Additional Features: <br>Tri-Zip design allows easy access to all your gear, compresion, goggle pocket, essentials pocket<br><br>Designed to carry: Helmet, goggles, extra layers, lunch, phone, wallet, keys</p>
346 <p>Hydration Capacity: 70 oz (2 L)<br><br>Total Capacity: 1000 cu in (16.39 L)<br><br>CamelBak®Got Your Bak&trade; Guarantee: If we built it, we'll Bak it&trade; with our lifetime guarantee. <br><br>Reservoir Features: 1/4 turn - easy open/close cap, lightweight fillport, dryer arms, center baffling and low-profile design, patented Big Bite&trade; Valve, HydroGuard&trade; technology, insulated PureFlow&trade; tube, easy-to-clean wide-mouth opening<br><br>BACK PANEL: Snowshed&trade;<br><br>HARNESS: S-Curved Women's Harness; Therminator&trade; provides easy access for frequent sipping, insulated and fully enclosed to protect against freezing<br><br>BELT: Removable 1" (25 mm) stability<br><br>Additional Features: <br>Tri-Zip design allows easy access to all your gear, compresion, goggle pocket, essentials pocket<br><br>Designed to carry: Helmet, goggles, extra layers, lunch, phone, wallet, keys</p>
349 <p> ConnectShare™ Movie lets you watch videos, play music or view photos from a USB drive. Simply plug your USB directly into your Samsung TV’s USB port and watch on the big screen with friends and family. </p>
350 <p> ConnectShare™ Movie lets you watch videos, play music or view photos from a USB drive. Simply plug your USB directly into your Samsung TV’s USB port and watch on the big screen with friends and family. </p>
352 <p>Certain photos vividly remind you of memorable moments even at a quick glance. You can treasure such everlasting, memories with the 18-55mm lens. This lens enables you to create diverse images from any scene, including wide-angle and portrait shots, making your precious moments last forever.</p>
353 <p>Certain photos vividly remind you of memorable moments even at a quick glance. You can treasure such everlasting, memories with the 18-55mm lens. This lens enables you to create diverse images from any scene, including wide-angle and portrait shots, making your precious moments last forever.</p>
354 <p>Certain photos vividly remind you of memorable moments even at a quick glance. You can treasure such everlasting, memories with the 18-55mm lens. This lens enables you to create diverse images from any scene, including wide-angle and portrait shots, making your precious moments last forever.</p>
355
356
357
358
359
360
361
362
367
368
369
370