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 
FROM 
  cscart_product_descriptions 
WHERE 
  cscart_product_descriptions.product_id IN (
    15098, 13182, 16680, 16559, 14050, 14053, 
    14056, 14058, 14060, 14061, 16728, 
    16560, 888, 16556, 16558, 16557, 14664, 
    16611, 16613, 16612, 16614, 16553, 
    16439, 17204, 14477, 17138, 16615, 
    16622, 16616, 16554, 14478, 13031, 
    15462
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00144

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "23.11"
    },
    "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": 33,
      "rows_produced_per_join": 33,
      "filtered": "100.00",
      "index_condition": "((`dev_yourmart_co_bw`.`cscart_product_descriptions`.`product_id` in (15098,13182,16680,16559,14050,14053,14056,14058,14060,14061,16728,16560,888,16556,16558,16557,14664,16611,16613,16612,16614,16553,16439,17204,14477,17138,16615,16622,16616,16554,14478,13031,15462)) and (`dev_yourmart_co_bw`.`cscart_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "19.81",
        "eval_cost": "3.30",
        "prefix_cost": "23.11",
        "data_read_per_join": "125K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id short_description full_description
888 <ul style="padding:0px;color:#686868;font-family:sourcesanspro, Helvetica, Tahoma, Geneva, Arial, sans-serif;font-size:16px;"><li>HTH Floater+ (Pool Chlorine)</li><li>Contains: slow-release chlorine (stabilised)</li> <li>Shock treatment</li> <li>Algaecide</li> <li>Clarifier</li> <li>See-through so you know when it is empty</li> <li>1.6kg treats up to 70 000L</li> <li>750g treats up to 30 000L</li> </ul>
13031 <p></p><p><b>Xpanda Burglar Resistant Safe</b>: <b>No 3</b>. With a 7 Lever lock this burglar resistant safe is ideal for securing cash savings, jewellery and other valuables.<br /><span class="YrbPuc WGKbId BBwThe">Door thickness: </span><span class="wHYlTd z8gr9e">6mm</span></p> <p><span class="YrbPuc WGKbId BBwThe">Height: </span><span class="wHYlTd z8gr9e">275mm</span></p> <p><span class="YrbPuc WGKbId BBwThe">Width: </span><span class="wHYlTd z8gr9e">375mm</span></p> <p><span class="YrbPuc WGKbId BBwThe">Depth: </span><span class="wHYlTd z8gr9e">195mm</span></p>
13182 <p>77 PCE TOOLBOX WITH CANTILEVER</p>
14050
14053
14056
14058
14060
14061
14477
14478
14664
15098
15462
16439
16553 <p><strong>DIY Misting Patio System – Stay Cool Anywhere!</strong></p> <p>Transform your outdoor space into a refreshing oasis with our <strong>DIY Misting Patio System</strong>! Perfect for patios, decks, pergolas, or any outdoor area, this easy-to-install kit keeps you cool on even the hottest days.</p>
16554 <p>Upgrade your workspace or dining area with our <b>Table Divider Clamps</b>, the perfect solution for holding glass panels securely without the need for drilling or permanent alterations. Designed for convenience and durability, these clamps make installing glass dividers quick and hassle-free.</p>
16556 <p></p><p>Enhance your interiors with the <b>Kiruna Lever Door Handle</b>, a sleek and modern tube lever handle designed for both style and durability. Crafted from high-quality <b>stainless steel</b>, the handle features a <b>19mm diameter</b>, providing a comfortable grip and a minimalist aesthetic. </p> <p>The Kiruna handle comes as a <b>complete set</b>, including a pair of handles, matching <b>round rose</b>, and <b>escutcheons</b>, making it perfect for doors with keyholes or other locking mechanisms. Its robust construction ensures longevity, while the timeless stainless-steel finish seamlessly complements contemporary and classic interiors alike.</p>
16557 <p>Enhance your interiors with the <b>VAASA Lever Door Handle</b>, a sleek and modern tube lever handle designed for both style and durability. Crafted from high-quality <b>stainless steel</b>, the handle features a <b>19mm diameter</b>, providing a comfortable grip and a minimalist aesthetic. </p> <p>The VAASA handle comes as a <b>complete set</b>, including a pair of handles, matching <b>round rose</b>, and <b>escutcheons</b>, making it perfect for doors with keyholes or other locking mechanisms. Its robust construction ensures longevity, while the timeless stainless-steel finish seamlessly complements contemporary and classic interiors alike.</p> <h5>Features:</h5> <ul><li><b>Material:</b> Stainless Steel</li><li><b>Diameter:</b> 19mm</li><li><b>Unit:</b> Supplied as a pair</li><li>Includes matching escutcheons for a cohesive look</li></ul> <p>Add a touch of elegance and functionality to your doors with the VAASA Lever Door Handle. Perfect for residential or commercial use.</p>
16558 <p>Enhance your interiors with the <b>Sambava Lever Door Handle</b>, a sleek and modern solid lever handle designed for both style and durability. Crafted from high-quality <b>stainless steel</b>, the handle features a <b>19mm diameter</b>, providing a comfortable grip and a minimalist aesthetic. </p> <p>The Sambava handle comes as a <b>complete set</b>, including a pair of handles, matching <b>round rose</b>, and <b>escutcheons</b>, making it perfect for doors with keyholes or other locking mechanisms. Its robust construction ensures longevity, while the timeless stainless-steel finish seamlessly complements contemporary and classic interiors alike.</p><p></p>
16559 <p>Upgrade your home or office security with the <b>Elemental Double Cylinder Lock</b>. This premium-quality lock combines durability and sleek design, offering both functionality and style.</p> <p>Whether you're replacing an old lock or upgrading for added safety, the Elemental Double Cylinder Lock ensures peace of mind with its reliable performance and stylish finish.</p>
16560 <p>Ensure smooth and reliable door operation with the <b>Floorspring (Spring Strength 3)</b>, designed for commercial and high-traffic environments. This top-quality unit delivers efficient door control, meeting the stringent <b>EN1154</b> compliance for durability and safety.</p> <p>The <b>Floorspring (Spring Strength 3)</b> is the perfect solution for achieving smooth, controlled door movement while maintaining the highest standards of safety and performance. Ideal for both commercial and residential settings, it’s a reliable choice for quality door hardware.</p>
16611
16612
16613
16614
16615
16616
16622
16680
16728
17138
17204