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 (
    264945, 264756, 264208, 263981, 264156, 
    264888, 264304, 264851, 264940, 264973, 
    264893, 264909, 264950, 264219, 264102, 
    264193, 264922, 264964, 264705, 366828, 
    366833, 371861, 366771, 371848, 371878, 
    366815, 264824, 371873, 366690, 263925, 
    264226, 371890, 264955, 371884, 263720, 
    371868, 366760, 366765, 371898, 264931, 
    371895, 366821, 366796, 371936, 371902, 
    377755, 371912, 372021, 377735, 371984, 
    371917, 371905, 366754, 366841, 371945, 
    371843, 371941, 371988, 371909, 371947, 
    366701, 371929, 371933, 371944, 371949, 
    371935, 371940, 381639, 185269
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00259

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "96.73"
    },
    "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": 69,
      "rows_produced_per_join": 69,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "82.93",
        "eval_cost": "13.80",
        "prefix_cost": "96.73",
        "data_read_per_join": "471K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ],
      "attached_condition": "((`webmarco`.`cscart_product_descriptions`.`product_id` in (264945,264756,264208,263981,264156,264888,264304,264851,264940,264973,264893,264909,264950,264219,264102,264193,264922,264964,264705,366828,366833,371861,366771,371848,371878,366815,264824,371873,366690,263925,264226,371890,264955,371884,263720,371868,366760,366765,371898,264931,371895,366821,366796,371936,371902,377755,371912,372021,377735,371984,371917,371905,366754,366841,371945,371843,371941,371988,371909,371947,366701,371929,371933,371944,371949,371935,371940,381639,185269)) and (`webmarco`.`cscart_product_descriptions`.`lang_code` = 'en'))"
    }
  }
}

Result

product_id short_description full_description
185269 <p>High Quality Handicraft Products.</p> <p>Availability of numbers from 33-42 for women and from 38 to 42 for men.</p> <p>Any Need Consult Isola Del Cuoio</p> <p><br /></p>
263720 <p><strong>Black Shoes with Low Heels and Comfortable.</strong></p> <p>Numbers - 36,37,38,39,40</p>
263925 <p> <strong>Transparent High Heels Slippers </strong></p> <p>Numbers - 36, 37, 38, 39, 40</p>
263981 <p> <strong>Special rubber sneakers.</strong></p> <p>Numbers - 36, 37, 38, 39, 40</p>
264102 <p> Very nice sports sneakers and very comfortable </p>
264156 <p>Numbers - 36,37,38,39,40</p> <p><strong>Black Shoes with Transparent Heels.</strong></p> <p><br></p> <p></p> <p><strong></strong></p>
264193 <p> Very beautiful and practical sandals with heels and ankle straps </p> <p>Black Sandals with Heel and Ankle Strap.<br></p><p>Numbers - 36, 37, 38, 39, 40.</p>
264208 <p><strong>Green Classy Shoes with Stones.&nbsp;<br></strong></p> <p>Numbers - 36,37,38,39,40<br></p>
264219 <p> Very elegant sandals with shiny stones. </p> <p>Numbers - 36,37,38,39,40. <br> <br></p> <p></p> <p> </p>
264226 <p> <strong> Shoe with Knee Stones </strong> </p> <p> Blue Shoes with Stones - No. 36,37,38,39,40 </p> <p> <br> </p>
264304 <p><strong>Very Beige Black Beaver Shoes</strong></p> <p>Numbers - 36,37,38,39,40</p>
264705 <p><strong>Sneakers with white adhesive</strong></p> <p>Numbers - 36 37 38 39 40</p> <p><br></p>
264756 <p> <strong>The most special Cinderella shoes </strong></p> <p>Numbers - 36, 37, 38, 39, 40</p>
264824 <p><strong>Beige shoes with transparent heels.</strong></p> <p>Numbers - 36,37,38,39,40</p>
264851 <p><strong>Beige Classy Shoes with Stones<br></strong></p><p>Numbers - 36, 37, 38, 39, 40</p>
264888 <p> <strong> Shoe with Knee Stones </strong> </p> <p> Blue Shoes with Stones - No. 36,37,38,39,40 </p> <p> <br> </p>
264893 <p> <strong> Shoe with Knee Stones </strong> </p> <p> Blue Shoes with Stones - No. 36,37,38,39,40 </p> <p> <br> </p>
264909 <p> <strong> Very elegant sandals with shiny stones. </strong> </p> <p>Numbers - 36,37,38,39,40. <br> <br></p> <p></p> <p> </p>
264922 <p> Very beautiful and practical sandals with heels and ankle straps </p> <p>Beige Sandals with Heel and Ankle Strap <br></p> <p>Numbers -36, 37, 38, 39, 40</p>
264931 <p>Numbers - 36,37,38,39,40</p> <p><strong>Pink Shoes with Transparent Heels.</strong></p> <p><br></p> <p></p> <p><strong></strong></p>
264940 <p><strong>Blue Shoes with Low Heels and Comfortable.</strong></p> <p>Numbers - 36,37,38,39,40</p>
264945 <p><strong>Pink Shoes with Low Heels and Comfortable.</strong></p> <p>Numbers - 36,37,38,39,40</p>
264950 <p>Numbers - 36,37,38,39,40</p> <p><strong>Beige Shoes with Transparent Heels.</strong></p> <p><br></p> <p></p> <p><strong></strong></p>
264955 <p><b>Beige shoes with small heels and comfortable.</b><br></p> <p>Numbers - 36,37,38,39,40.</p> <p></p>
264964 <p><strong>Sneakers with Beige Adhesive</strong></p> <p>Numbers - 36 37 38 39 40</p> <p><br></p>
264973 <p> Very nice sports sneakers and very comfortable </p>
366690 <h2 style="font-size:25px;"> ALLY NYLON SOLID NAVY BLUE </h2> <p style="color:#000000;font-size:18px;"> <u> Brand:</u> Sun 68 <br /> </p> <p style="color:#000000;font-size:18px;"> 54% Leather 40% Textile 6% Polyurethane </p> <p style="color:#000000;font-size:18px;"> Item CODE Z42201 <br /> Numbers from 35 to 41 </p>
366701 <h2 style="font-size:25px;"> ALLY NYLON SOLID BLACK </h2> <p style="color:#000000;font-size:18px;"> <u> Brand:</u> Sun 68 <br /> </p> <p style="color:#000000;font-size:18px;"> 54% Leather 40% Textile 6% Polyurethane </p> <p style="color:#000000;font-size:18px;"> Item CODE Z42201 <br /> Numbers from 35 to 41 </p>
366754 <h2 style="font-size:25px;"> All-black ankle boots </h2> <p style="color:#000000;font-size:18px;"> Jewel chain <br /> Metallic effect spoiler <br /> Flat rubber sole with embossed logo <br /> Zip closure on the inside </p> <p style="color:#000000;font-size:18px;"> <u> Sole height:</u> 4 cm <br /> <u> Shaft height:</u> 14,5 cm <br /> <u> Brand:</u> Liu jo <br /> <u> ITEM NO:</u> BF2055EX01422222 </p> <p style="color:#000000;font-size:18px;"> Ankle boots with jewel chain <br /> Women's shoe sizes are 35 36 37 38 39 40 </p>
366760 <h2 style="font-size:25px;"> Leather platform sneakers </h2> <p style="color:#000000;font-size:18px;"> Sneakers with upper in white leather <br /> Two-tone metallic logo applied on the side <br /> Metallic effect spoiler <br /> Flat laces <br /> Platform sole with printed logo <br /> Notched rubber tread </p> <p style="color:#000000;font-size:18px;"> <u> Sole height:</u> 4,5 cm <br /> <u> ITEM NO.:</u> BF2095P010201111 <br /> <u> Brand:</u> Liu jo </p> <p style="color:#000000;font-size:18px;"> Women's shoe sizes are 35 36 37 38 39 40 </p>
366765 <h2 style="font-size:25px;"> Leather platform sneakers </h2> <p style="color:#000000;font-size:18px;"> Sneakers with upper in black leather <br /> Two-tone metallic logo applied on the side <br /> Metallic effect spoiler <br /> Flat laces <br /> Platform sole with printed logo <br /> Notched rubber tread </p> <p style="color:#000000;font-size:18px;"> <u> Sole height:</u> 4,5 cm <br /> <u> Brand:</u> Liu jo <br /> <u> ITEM NO.:</u> BF2095P010222222 </p> <p style="color:#000000;font-size:18px;"> Women's shoe sizes are 35 36 37 38 39 40 </p>
366771 <h2 style="font-size:25px;"> Platform sneakers in camouflage mesh </h2> <p style="color:#000000;font-size:18px;"> Sneakers in suede and laminated camouflage mesh <br /> Satin and lamé inserts <br /> Two-tone effect metallic logo <br /> Metallic effect spoiler with LJ logo <br /> Tone-on-tone flat laces <br /> Two-tone platform sole with printed logo <br /> Notched rubber tread </p> <p style="color:#000000;font-size:18px;"> <u> Sole height:</u> 4,5 cm <br /> <u> Brand:</u> Liu jo <br /> <u> ITEM NO.:</u> BF2097PX255S1870 <br /> <u> Color:</u> beige </p> <p style="color:#000000;font-size:18px;"> Women's shoe sizes are 35 36 37 38 39 40 </p>
366796 <h2 style="font-size:25px;"> Low boots </h2> <p style="color:#000000;font-size:18px;"> <u> Symbol:</u> BF2111PX141-S1033 <br /> <u> Style:</u> Liu Jo Maxi Wonder 49 <br /> <u> Product code:</u> BF2111 PX141 S1033 <br /> <u> Gender:</u> Women<br /> <u> Upper:</u> Leather, Imitation leather <br /> <u> Insole:</u> Synthetic fur, Material <br /> <u> Material only:</u> Rubber <br /> <u> Insert:</u> Faux fur <br /> <u> Heel Type:</u> Flat <br /> <u> Fastening Type:</u> Slip On <br /> <u> Color:</u> Black<br /> <u> Isolation:</u> Yes<br /> <u> Total height of the shoe:</u> 18,5 cm <br /> <u> Season:</u> Autumn/Winter <br /> <u> Category:</u> Footwear<br /> <u> Shoe Height:</u> High Top <br /> <u> Collection:</u> FW22 <br /> <u> Brand:</u> Liu jo </p> <p style="color:#000000;font-size:18px;"> Women's shoe sizes are 35 36 37 38 39 40 </p>
366815 <h2 style="font-size:25px;"> Upper suede/fabric Initials ram </h2> <p style="color:#000000;font-size:18px;"> <u> Supplier Code:</u> 4f2767tx279s1007/black nude <br /> <u> Lining:</u> fabric<br /> <u> Insole:</u> leather<br /> <u> Insole:</u> removable<br /> <u> Bottom:</u> rubber<br /> <u> Closure:</u> laces<br /> <u> Fit:</u> regular<br /> <u> Color:</u> black, nude <br /> <u> Style:</u> leisure <br /> <u> Heel height:</u> 3.5 cm <br /> Ean138056699648568 <br /> <u> Brand:</u> Liu jo </p> <p style="color:#000000;font-size:18px;"> Women's shoe sizes are 35 36 37 38 39 40 </p>
366821 <h2 style="font-size:25px;"> Faux leather upper Initials ram </h2> <p style="color:#000000;font-size:18px;"> <u> Supplier Code:</u> 4f2733ex01401111/white <br /> <u> Lining:</u> fabric<br /> <u> Insole:</u> leather<br /> <u> Footbed:</u> fixed<br /> <u> Bottom:</u> rubber<br /> <u> Closure:</u> laces<br /> <u> Fit:</u> regular<br /> <u> Seasons:</u> all seasons <br /> <u> Color:</u> white <br /> <u> Style:</u> casual <br /> Ean13 8056699646229 <br /> <u> Brand:</u> Liu jo </p> <p style="color:#000000;font-size:18px;"> Women's shoe sizes are 35 36 37 38 39 40 </p>
366828 <h2 style="font-size:25px;"> Mixed leather vibo sneaker </h2> <p style="color:#000000;font-size:18px;"> Mixed leather sneaker. <br /> Round tip. <br /> String closure. <br /> Side logo lettering. <br /> 4G print detail and peony logo on the back. <br /> Leather insole. <br /> Inner lining in fabric. <br /> Rubber sole. </p> <p style="color:#000000;font-size:18px;"> <u> Code No.:</u> FL7RNOFAL12 <br /> <u> Brand:</u> Guess </p> <p style="color:#000000;font-size:18px;"> Women's shoe sizes are 35 36 37 38 39 40 </p>
366833 <h2 style="font-size:25px;"> Mixed leather runner </h2> <p style="color:#000000;font-size:18px;"> Round tip. <br /> Height para 5.5 cm. <br /> String closure. <br /> Peony embossed logo. <br /> Laminated inserts and mesh inserts. <br /> Insole and inner lining in fabric. <br /> Rubber sole. <br /> Runner harinna logo </p> <p style="color:#000000;font-size:18px;"> <u> Brand:</u> Guess </p> <p style="color:#000000;font-size:18px;"> Women's shoe sizes are 35 36 37 38 39 40 </p>
366841 <h2 style="font-size:25px;"> Runner harinna logo </h2> <p style="color:#000000;font-size:18px;"> Mixed leather runner. <br /> Round tip. <br /> Height para 5.5 cm. <br /> String closure. <br /> Peony embossed logo. <br /> Laminated inserts and mesh inserts. <br /> Insole and inner lining in fabric. <br /> Rubber sole. </p> <p style="color:#000000;font-size:18px;"> <u> Color:</u> brown multi <br /> <u> Code No.:</u> FL7HARFAL12 <br /> <u> Brand:</u> Guess </p> <p style="color:#000000;font-size:18px;"> Women's shoe sizes are 35 36 37 38 39 40 </p>
371843 <h2 style="color:#000000;font-size:22px;"> Women's Long Neck Shoes </h2> <p style="color:#000000;font-size:22px;"> Material: Suede</p>
371848 <h2 style="color:#000000;font-size:22px;"> Unisex lace up shoes </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371861 <h2 style="color:#000000;font-size:22px;"> Buffon Men's Sneakers </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371868 <h2 style="color:#000000;font-size:22px;"> Buffon Men's Sneakers </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371873 <h2 style="color:#000000;font-size:22px;">Buffon Men's Sneakers</h2> <p style="color:#000000;font-size:22px;"> Material: Suede</p>
371878 <h2 style="color:#000000;font-size:22px;"> Buffon Men's Sneakers </h2> <p style="color:#000000;font-size:22px;"> Material: Suede </p>
371884 <h2 style="color:#000000;font-size:22px;"> Buffon Men's Sneakers </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371890 <h2 style="color:#000000;font-size:22px;"> Buffon Men's Sneakers </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371895 <h2 style="color:#000000;font-size:22px;"> Buffon Men's Sneakers </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371898 <h2 style="color:#000000;font-size:22px;"> Buffon Sneakers for Men </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371902 <h2 style="color:#000000;font-size:22px;"> Buffon Men's Sneakers </h2> <p style="color:#000000;font-size:22px;"> Material: Suede</p>
371905 <h2 style="color:#000000;font-size:22px;"> Unisex Long Neck Shoes </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371909 <h2 style="color:#000000;font-size:22px;"> Women's Boots </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371912 <h2 style="color:#000000;font-size:22px;"> Women's Long Neck Shoes </h2> <p style="color:#000000;font-size:22px;"> Material: Suede </p>
371917 <h2 style="color:#000000;font-size:22px;"> Women's Long Neck Shoes </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371929 <h2 style="color:#000000;font-size:22px;"> Women's Long Neck Shoes </h2> <p style="color:#000000;font-size:22px;"> Material: Suede </p>
371933 <h2 style="color:#000000;font-size:22px;"> Boots </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather</p>
371935 <h2 style="color:#000000;font-size:22px;"> Boots</h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371936 <h2 style="color:#000000;font-size:22px;"> Shoes with Heels </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371940 <h2 style="color:#000000;font-size:22px;"> Long Neck Shoes </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371941 <h2 style="color:#000000;font-size:22px;"> Long Neck Shoes </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371944 <h2 style="color:#000000;font-size:22px;"> Shoes with Heels </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371945 <h2 style="color:#000000;font-size:22px;">Classic Shoes</h2> <p style="color:#000000;font-size:22px;"> Material: Suede </p>
371947 <h2 style="color:#000000;font-size:22px;"> Shoes with Neck </h2> <p style="color:#000000;font-size:22px;"> Material: Suede </p>
371949 <h2 style="color:#000000;font-size:22px;"> Shoes with Neck </h2> <p style="color:#000000;font-size:22px;"> Material: Suede </p>
371984 <h2 style="color:#000000;font-size:22px;"> Shoes with Heels </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
371988 <h2 style="color:#000000;font-size:22px;">Shoes with Neck </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
372021 <h2 style="color:#000000;font-size:22px;"> Unisex Hight Neck Shoes </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
377735 <h2 style="color:#000000;font-size:22px;"> Women's Long Neck Shoes </h2> <p style="color:#000000;font-size:22px;"> Material: 100% leather </p>
377755 <h2 style="color:#000000;font-size:22px;"> Classic Shoes for Women </h2> <p style="color:#000000;font-size:22px;">Material: leather</p>
381639 <p>Simil pelle nera</p><p></p>