SELECT 
  jmj_product_descriptions.product_id, 
  jmj_product_descriptions.short_description, 
  IF(
    jmj_product_descriptions.short_description = '' 
    OR jmj_product_descriptions.short_description IS NULL, 
    jmj_product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  jmj_product_descriptions 
WHERE 
  jmj_product_descriptions.product_id IN (
    1705, 1730, 1654, 1662, 1713, 1733, 1682, 
    1675, 1702, 1728, 1719, 1511, 1517, 
    1523, 1526, 1645, 1647, 1670, 1659, 
    1656, 1723, 1668, 1679, 1696, 1731, 
    1699, 1732, 1707, 1697, 1735, 1695, 
    1686, 1734, 1721, 1729, 814, 816, 817, 
    818, 819, 820, 821, 822, 823, 825, 826, 
    827, 828, 895, 899, 901, 902, 813, 1460, 
    830, 868, 869, 870, 904, 905, 906, 907, 
    908, 909, 917, 920, 921, 922, 923, 924, 
    1105, 1109, 1110, 1111, 1112, 1113, 
    1114, 1115, 1116, 1117, 1118, 1119, 
    1120, 1122, 1123, 1150, 1151, 1152, 
    1059, 1060, 1032, 1033, 1034, 1035, 
    1036, 1037
  ) 
  AND jmj_product_descriptions.lang_code = 'en'

Query time 0.01043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "124.78"
    },
    "table": {
      "table_name": "jmj_product_descriptions",
      "access_type": "ALL",
      "possible_keys": [
        "PRIMARY",
        "product_id"
      ],
      "rows_examined_per_scan": 524,
      "rows_produced_per_join": 96,
      "filtered": "18.32",
      "cost_info": {
        "read_cost": "105.58",
        "eval_cost": "19.20",
        "prefix_cost": "124.78",
        "data_read_per_join": "366K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ],
      "attached_condition": "((`jmj_test`.`jmj_product_descriptions`.`product_id` in (1705,1730,1654,1662,1713,1733,1682,1675,1702,1728,1719,1511,1517,1523,1526,1645,1647,1670,1659,1656,1723,1668,1679,1696,1731,1699,1732,1707,1697,1735,1695,1686,1734,1721,1729,814,816,817,818,819,820,821,822,823,825,826,827,828,895,899,901,902,813,1460,830,868,869,870,904,905,906,907,908,909,917,920,921,922,923,924,1105,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1120,1122,1123,1150,1151,1152,1059,1060,1032,1033,1034,1035,1036,1037)) and (`jmj_test`.`jmj_product_descriptions`.`lang_code` = 'en'))"
    }
  }
}

Result

product_id short_description full_description
899
813 <p>okok</p>
814
816
817
818
819
820
821
822
823
895
825
826
827
828
868
830
1033 <p>Ready to wear saree with stitched blouse</p>
904
917
924
869
870
923
901
902
905
906
907
908
909
920
921
922
1151 <p>MANUFACTURED BY USING HIGH QUALITY RFD FABRIC WHICH PROVIDES GREAT FIT AND COMFORT TO THE CUSTOMER .</p>
1032 <p>Ready to wear saree with stitched blouse </p>
1034 <p>Ready to wear saree / drep saree with stitched blouse</p>
1035 <p>Ready to wear saree / drep saree with stitched blouse</p>
1036 <p>Ready to wear saree / drep saree with stitched blouse</p>
1037 <p>Ready to wear saree / drep saree with stitched blouse</p>
1059
1060
1109 <p>MANUFACTURED BY USING HIGH QUALITY DOBBY FABRIC WHICH PROVIDES ULTIMATE COMFORT AND DURABILITY </p>
1105 <p>A GREAT QUALITY PRODUCT MANUFACTURED BY USING 3*1 COTTON DENIM FABRIC WHICH PROVIDES GREAT FEEL AND COMFORT .</p>
1110 <p>GREAT PRODUCT MANUFACTURED BY USING DOBBY FABRIC WHICH PROVIDES FANTASTIC FIT AND COMFORT TO THE CONSUMER AND ALSO ENRICHES THE BEAUTY OF THE BEHOLDER </p>
1111 <p>GREAT QUALITY PRODUCT DESIGNED WITH DOBBY FABRIC WHICH PROVIDES GREAT FIT AND FLEX TO THE CONSUMER</p>
1112 <p>SOFT AND DURABLE MATERIAL USED IN PRODUCTION WHICH ENHANCES THE FIT AND STRETCH OF THE PRODUCT</p>
1113 <p>PRODUCED BY USING HIGH QUALITY DOBBY FABRIC WHICH PROVIDES GREAT FIT AND STRETCH TO THE CONSUMER .</p>
1114 <p>MANUFACTURED BY USING HIGH QUALITY 3*1 FABRIC WHICH PROVIDES GOOD FIT AND GREAT COMFORT TO THE CUSTOMER </p>
1115 <p>MANUFACTURED BY USING HIGH QUALITY 3*1 FABRIC WHICH EHNANCES THE QUALITY AND FIT OF THE PRODUCT.</p>
1116 <p>PRODUCT  DEVELOPED BY USING 3*1 HIGH QUALITY FABRIC WHICH PROVIDES GREAT FEEL AND COMFORT TO THE CUSTOMER </p>
1117 <p>DENIM CREATED BY USING HIGH QUALITY DOBBY FABRIC WHICH PROVIDES GREAT FIT AND COMFORT TO THE CONSUMER .</p><p><br /></p>
1118 <p>DENIM DESIGNED BY USING HIGH QUALITY DOBBY FINISH FABRIC WHICH PROVIDES GREAT COMFORT AND FLEX TO THE CONSUMER </p>
1119 <p>MANUFACTURED BY USING HIGH QUALITY RFD FABRIC WHICH PROVIDES GREAT COMFORT AND FEEL TO THE CUSTOMER AND ENHANCES THE SENSE OF FASHION</p>
1120 <p>PRODUCED BY USING HIGH QUALITY RFD FABRIC WHICH PROVIDES GREAT FIT AND COMFORT AND CAN BE USED ON DAILY BASIS BY THE CONSUMER </p>
1122 <p>MANUFACTURED  BY USING HIGH QUALITY KNITTED FABRIC WHICH PROVIDES GREAT FIT AND FEEL TO THE CUSTOMER.</p>
1123 <p>HIGH QUALITY JEANS PRODUCED BY USING HIGH QUALITY RFD FABRICS WHICH PROVIDES GREAT COMFORT AND FEEL TO THE CONSUMER .</p>
1150 <p>GREAT QUALITY JEANS MANUFACTURED BY USING HIGH QUALITY DOBBY FABRIC WHICH PROVIDES GREAT COMFORT AND FLEX TO THE CUSTOMER .</p>
1152 <p>MANUFACTURED BY USING HIGH QUALITY FABRICS WHICH PROVIDE GREAT FEEL AND COMFORT TO THE CUSTOMER </p>
1460 <p><strong>Product Details</strong></p> <p>Brand:- JMJ-Fashion</p> <p>Material:- Cotton</p>
1511 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Colour: green</li><li>Solid</li><li>V-neck</li><li>Three-quarter, regular sleeves</li><li>Straight shape with regular style</li><li>Zari detail</li><li>Calf length with straight hem</li><li>Machine weave regular Linen Cotton</li></ul> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>Linen Cotton<br />Hand Wash</p> <p></p>
1517 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Green kurta</li><li>Solid</li><li>Mandarin Collar</li><li>Three quarter, regular sleeves</li><li>Straight shape</li><li>Regular style</li><li>Calf-length with straight hem</li><li>Machine weave regular viscose rayon</li></ul> <h4>Size & Fit</h4> <p>The model (height 5'8'') is wearing a size S</p> <h4>Material & Care</h4> <p>Viscose Rayon<br />Machine Wash</p> <p></p>
1523 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Red Printed Kurta with Trousers & Dupatta<br />Floral - Printed - Red Kurta<br />Straight Shape<br />Round Neck<br />Three-quarter sleeves<br />Slip-On Closure</p> <h4>Size & Fit</h4> <p>The model (height 5.8') is wearing a size S</p> <h4>Material & Care</h4> <p>Top Fabric: Viscose Rayon<br />Bottom Fabric: Viscose Rayon<br />Dupatta Fabric: Organza<br />Dry Clean</p><p></p>
1526 <p><span style="font-size:21px;font-weight:700;"></span></p><h4>Product Details <span class="myntraweb-sprite pdp-productDetailsIcon sprites-productDetailsIcon"></span></h4> <p>Purple and gold toned embroidered Kurta with Trousers and dupatta<br /><br /><b>Kurta design:</b></p> <ul><li>Floral embroidered</li><li>Straight shape</li><li>Regular style</li><li>Notch neck , three-quarter regular sleeves</li><li>Thread work detail</li><li>Calf length with straight hem</li><li>Chanderi silk machine weave fabric</li></ul> <p><b>Trousers design:</b><br /></p><ul><li>Solid Trousers</li><li>Partially elasticated waistband</li><li>Slip on closure</li></ul> <p><b>Dupatta design : </b><br /></p><ul><li>Solid dupatta </li></ul> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>Kurta fabric : Chanderi Silk<br />Bottom fabric : Silk Blend <br />Dupatta Fabric :  Silk Blend<br />Dry Clean</p><p></p>
1735 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>White self design pullover ,has a round neck, long sleeves, ribbed hem</p> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>100% Acrylic<br />Machine Wash</p>
1645 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Colour: blue</li><li>Abstract printed</li><li>Round neck</li><li>Three-quarter, regular sleeves</li><li>Straight shape with regular style</li><li>Calf length with straight hem</li><li>Knitted and woven regular denim</li></ul> <h4>Size & Fit</h4> <p><br />The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>Denim<br />Hand wash</p>
1647 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Women Violet Solid Skinny Fit Casual High Ankle Cropped Leggings</p> <h4>Size & Fit</h4> <p>These leggings offer a snug, body-hugging fit with a high-stretch fabric that moves with you. The cotton-rich blend provides softness and breathability, while Lycra ensures excellent shape retention,True to size we recommend ordering your usual size,High-rise waistband for a flattering silhouette and added support,Anklel Cropped length design fits most heights comfortably,Flexible fit ideal for everyday wear, lounging, or light activity</p> <h4>Material & Care</h4> <p>These leggings are crafted from a soft and breathable blend of 95% cotton and 5% Lycra, offering both comfort and stretch for everyday wear. To maintain their shape, color, and quality</p>
1654 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Blue solid ankle length leggings, has an elasticated waistband and slip-on closure</p> <h4>Size & Fit</h4> <p>The model (height 5'8") is wearing a size 6XL</p> <h4>Material & Care</h4> <p>Cotton, Spandex<br />Normal hand wash or machine wash</p>
1656 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Beige solid mid-rise Patiala with gathers and pleats has an elasticated waistband with a slip-on closure</p> <h4>Size & Fit</h4> <p>Loose-Fit<br />The model (height 5'8") is wearing size M</p> <h4>Material & Care</h4> <p>Viscose Rayon<br />Hand Wash</p>
1659 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Maroon woven palazzos</li><li>Solid</li><li>Opaque</li><li>Wide leg fit</li><li>Partially elasticated waistband</li><li>Length: regular</li><li>Woven cotton fabric</li></ul> <h4>Size & Fit</h4> <p>Wide Leg fit<br />The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>Cotton<br />Machine wash in cold water & mild detergent.<br />Do not bleach.<br />Do not tumble dry, line dry in shade.<br />Wash dark colors separately.<br />Use iron on a low setting.</p>
1662 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Blue and gold-toned printed unstitched dress material<br />Blue and gold-toned printed kurta fabric<br />Blue and gold-toned printed bottom fabric<br />Blue and gold-toned printed dupatta, has tassels border<br />Disclaimer: Images are for referral purposes only. The actual product is unstitched</p> <h4>Size & Fit</h4> <p>Top: 2.25 Mtr.<br />Bottom: 2 .20Mtr.<br />Dupatta: 2.10 Mtr.<br />Unstitched Dress Material can be stitched upto XXL</p> <h4>Material & Care</h4> <p>Cotton<br />Machine Wash</p>
1668 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p><b>Design Details</b></p> <ul><li>White and navy blue saree</li><li>Dabu printed saree with printed border </li></ul> <p>The saree comes with an unstitched blouse piece<br />The blouse worn by the model might be for modelling purpose only. Check the image of the blouse piece to understand how the actual blouse piece looks like.<br /></p> <h4>Material & Care</h4> <p>Saree Fabric: Pure Cotton<br />Blouse Fabric: Pure Cotton<br />Machine Wash</p>
1670 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Blue and navy blue, gold-toned woven design lehenga choli with dupatta, zari<br />Blue and navy blue, gold-toned woven design unstitched blouse, round neck, short sleeves<br />Blue and navy blue, gold-toned woven design ready to wear lehenga, flared hem<br />Blue and navy blue, gold-toned woven design dupatta, taping border</p> <h4>Size & Fit</h4> <p>Lehenga Length:-1.016mtr<br />Lehenga Width:-76.2cm<br />Lehenga Flared:-2.5mtr<br />Blouse Size:- 1Mtr<br />Dupatta Size:- 2.2Mtr</p> <h4>Material & Care</h4> <p>Lehenga Fabric: Art Silk<br />Blouse Fabric: Raw Silk<br />Dupatta Fabric: Art Silk<br />Hand Wash</p>
1675 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Purple and White floral printed maxi dress</li><li>Sweetheart Neck</li><li>Short, puff sleeves</li><li>Gathered or pleated detail</li><li>Maxi length in Flounce hem</li><li>Cotton fabric</li></ul> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>Fabric: Cotton <br />Wash: Hand wash</p>
1679 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Maroon & gold-toned foral woven design winter pashmina shawl with taselled border</p> <h4>Size & Fit</h4> <p>Dimensions: 2 meter X 0.71 meter</p> <h4>Material & Care</h4> <p>Wool Blend<br />Hand Wash</p> <h4>Specifications</h4> <p>Border<br />Fringed</p>
1682 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Green solid embroidered dupatta beads and stones, embellished border</p> <h4>Size & Fit</h4> <p>Length - 2.5 Meter<br />Width - 0.83 Meter<br /><br /></p> <h4>Material & Care</h4> <p>Silk Blend<br />Hand Wash</p>
1686 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Blue regular shirt style top</li><li>Floral print</li><li>Round neck, short, puff sleeves </li><li>Woven</li></ul> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>Viscose Rayon<br />Hand Wash</p>
1695 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Chocolate brown</li><li>Tshirt for women</li><li>Graphic printed</li><li>Regular length</li><li>Round neck</li><li>Short, Drop-Shoulder Sleeves</li><li>Knitted pure cotton fabric</li></ul> <p>Style with beige pants and a tote bag.<br /></p> <h4>Size & Fit</h4> <p>Oversized<br />The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>100% Cotton<br />Machine wash</p>
1696 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Red and white vertical striped opaque Casual shirt ,has a spread collar, button placket, long roll-up sleeves, curved hem</p> <h4>Size & Fit</h4> <p>Regular Fit<br />Size worn by the model: S<br />Chest: 30''<br />Height: 5'8''<br /></p> <h4>Material & Care</h4> <p>52% Polyester, 48% Viscose Rayon<br />Machine wash</p>
1697 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Brown graohic printed sweatshirt has a round neck, long sleeves, ribbed hem</p> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size 3XL</p> <h4>Material & Care</h4> <p>52%Cotton, 48% Polyester<br />Machine wash</p>
1699 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Beige self design open front regular shrug ,has three-quarter sleeves, straight hem</p> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>Material : Cotton || Care Instructions: As Per Care Label</p>
1702 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Pink polyester casual jacket<br />Hooded<br />Bomber<br />Long sleeves<br />Straight hemline<br />Polyester liningHigh Star - Product by BRND.ME</p> <h4>Size & Fit</h4> <p>Regular fit<br />The model (height 5.8') is wearing a size S</p> <h4>Material & Care</h4> <p>Polyester<br />Machine Wash</p>
1705 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Teal solid regular-fit casual blazer, has a notched lapel, long sleeves, single-breasted with double button closure and two pockets</p> <h4>Material & Care</h4> <p>Polyester<br />Fitted jacket in stretchable knit with notch lapels,With flap pockets,statement buttons,Best for formal or semiformal events,nylon rayon polyester elastane fabric</p>
1707 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Off white formal suit with blazers, and trousers<br />off white solid regular-fit blazer, has a notched lapel, single-breasted with double button closures, long sleeves, one welt pocket, and two flap pockets, and a double-vented back hem<br />off white solid mid-rise trousers, has a zip fly with a button and a hook-and-bar closure, four pockets, a waistband with belt loops</p> <h4>Size & Fit</h4> <p>The model (height 5'8") is wearing a S</p> <h4>Material & Care</h4> <p>Polyviscose<br />Dry Clean</p>
1734 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Navy blue solid regular-fit track pants, has an elasticated waistband with a drawstring fastening, and two pockets</p> <h4>Size & Fit</h4> <p>Regular Fit<br />The model (height 5'8") is wearing size S</p> <h4>Material & Care</h4> <p>60% Cotton 40% Polyester<br />Machine-wash</p>
1713 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Maroon solid empire dress</li><li>Round neck</li><li>Three-quarter, regular sleeves</li><li>Midi length in flounce hem </li></ul> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>100%Viscose Rayon<br />Hand Wash</p>
1719 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Blue solid basic jumpsuit, has a halter neck, sleeveless, 2 pockets</p> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>Polyester<br />Machine wash</p>
1721 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>This tracksuit consists of a jacket and a pair of joggers<br />Grey and yellow colourblocked jacket has a high neck collar, full zip closure and long sleeves<br />Grey and yellow colourblocked mid-rise joggers has an elasticated waistband with drawstring closure, cuffed hems and two pockets</p> <h4>Size & Fit</h4> <p>The model (height 5'8") is wearing a size S</p> <h4>Material & Care</h4> <p>Polyester & Elastane<br />Machine Wash</p>
1723 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Pink solid waterproof rain jacket, has an attached hood, seam sealed with adjustable hems, long sleeves, back slit and slip-on closure</p> <h4>Size & Fit</h4> <p>The model (height 5'8") is wearing size S</p> <h4>Material & Care</h4> <p>Polyester<br />Wash gentle<br />Tumble dry low<br />Medium Iron<br />Line dry in shade<br />Do not dry clean<br />Do not bleach</p>
1728 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>ASSEMBLE STRETCH SUPER WIDE LEG DENIM JEANS IN LIGHT BLUE COLOR</p> <ul><li>Light shade, light fade blue jeans</li><li>Wide leg, high-rise</li><li>Clean look</li><li>Strechable</li><li>5 pocket</li><li>Length: regular</li></ul> <h4>Size & Fit</h4> <p><br />Fit: Wide Leg<br />Stretchable<br />The model (height 5'8) is wearing a size 28</p>
1729 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Beige knitted parallel</li><li>Straight fit</li><li>Brand Fit: relaxed straight leg</li><li>High-rise</li><li>Length: regular</li><li>Pattern: solid</li><li>Flat-front, with no pleats design</li><li>Feature: plain</li><li>2 pockets</li><li>Hook and Bar closure </li></ul> <h4>Size & Fit</h4> <p>Brand Fit: Relaxed Straight Leg<br />Fit: Straight Fit<br />The model (height 5'8) is wearing a size 28</p> <h4>Material & Care</h4> <p>95% Polyester 5% Elastane<br />Hand Wash</p><p></p>
1730 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Lavender high-rise solid capris, has drawstring closure, 2 pocket</p> <h4>Size & Fit</h4> <p>Regular Fit<br />The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>100% Cotton<br />Machine Wash</p>
1731 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Grey solid mid-rise sports shorts, has 2 pockets, drawstring closure</p> <h4>Size & Fit</h4> <p>Loose Fit<br />The model (height 5'8) is wearing a size 28</p> <h4>Material & Care</h4> <p>Cotton<br />Machine Wash</p>
1732 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Green solid high-rise mini skorts with attached inner shorts, has an elasticated waistband with slip-on closure, and a flared hem</p> <h4>Size & Fit</h4> <p>The model (height 5'8") is wearing size S</p> <h4>Material & Care</h4> <p>Nylon Fabric<br />Machine Wash</p>
1733 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Blue solid denim dungarees, has shoulder straps, waistband with belt loops and button closure, 5 pockets</p> <h4>Size & Fit</h4> <p>The model (height 5'8'') is wearing a size 28</p> <h4>Material & Care</h4> <p>Cotton<br />Machine wash</p>