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 (
    2088, 2103, 2093, 1770, 2098, 1929, 2121, 
    2122, 2090, 2087, 1843, 2092, 2091, 
    1845, 2089, 2012, 1988, 1769, 1971, 
    2026
  ) 
  AND cscart_product_descriptions.lang_code = 'ar'

Query time 0.00065

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "14.17"
    },
    "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": 20,
      "rows_produced_per_join": 20,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`product_id` in (2088,2103,2093,1770,2098,1929,2121,2122,2090,2087,1843,2092,2091,1845,2089,2012,1988,1769,1971,2026)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`lang_code` = 'ar'))",
      "cost_info": {
        "read_cost": "12.17",
        "eval_cost": "2.00",
        "prefix_cost": "14.17",
        "data_read_per_join": "91K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description",
        "unit_name"
      ]
    }
  }
}

Result

product_id short_description full_description unit_name
1769 <p>The Brother DCP-L3560CDW is a compact, high-performance color laser multifunction printer designed for small to medium-sized offices that require reliable and efficient document handling. With its robust feature set, including seamless mobile connectivity through the Brother Mobile Connect app, this printer ensures productivity and ease of use.</p>
1770 <p>The Brother DCP-L2600D is a reliable monochrome laser multifunction printer designed for home offices and small businesses seeking efficient and high-quality document handling. It combines fast printing, scanning, and copying capabilities in a compact design, ensuring productivity without compromising space.</p>
1843 <p>The Brother HL-L2400D is a compact monochrome laser printer designed for home offices and small businesses seeking efficient and high-quality black-and-white printing. With its fast print speeds, automatic duplex printing, and robust paper handling, it ensures productivity while maintaining a small footprint.</p>
1845 <p>The Brother HL-L2460DW is a compact monochrome laser printer designed for home offices and small businesses that require fast, high-quality black-and-white printing. With its robust performance, flexible connectivity options, and user-friendly features, it ensures efficient and reliable printing.</p>
1929 <p>The Brother DCP-L2640DW is a compact monochrome laser multifunction printer designed for home offices and small businesses that require efficient and high-quality black-and-white printing. With its robust performance, flexible connectivity options, and user-friendly features, it ensures productivity while maintaining a small footprint.</p>
1971 <p>The Brother DCP-T530DW is a versatile A4 colour inkjet multifunction printer designed for home and small office environments. It combines high-quality printing, scanning, and copying capabilities with user-friendly features and cost-effective ink management.</p>
1988 <p>The Brother DCP-T730DW is a compact A4 color inkjet multifunction printer designed for home and small office environments. It combines high-quality printing, scanning, and copying capabilities with user-friendly features and cost-effective ink management.</p>
2012 <p>The Brother DCP-T830DW is a versatile A4 color inkjet multifunction printer designed for home and small office environments. It combines high-quality printing, scanning, and copying capabilities with user-friendly features and cost-effective ink management.</p>
2026 <p>The Brother MFC-T930DW is a high-performance A4 colour inkjet multifunction printer designed for home and small office environments. It combines high-quality printing, scanning, copying, and faxing capabilities with user-friendly features and cost-effective ink management.</p>
2087 <p>The Brother MFC-T4500DW is a high-performance A3 colour inkjet multifunction printer designed for home and small office environments. It combines high-quality printing, scanning, copying, and faxing capabilities with user-friendly features and cost-effective ink management.</p>
2088 <p>The Brother QL-800 is a high-speed, professional label printer designed for efficient, high-quality label printing in various environments. Utilizing direct thermal printing technology, it eliminates the need for ink or toner, making it a cost-effective solution for businesses and home offices.</p>
2089 <p>The <strong>Brother QL-820NWB</strong> is a professional-grade label printer designed for businesses requiring high-speed, versatile label printing solutions. With its advanced connectivity options and high-resolution output, it caters to a wide range of labeling needs, from shipping and barcode labels to visitor badges and signage.</p>
2090 <p>The Brother PT-E100VP is a compact, handheld industrial label printer designed for electricians, datacom installers, and maintenance professionals. It offers specialized labeling functions, including cable wrap, cable flag, and faceplate labeling, ensuring quick and accurate identification in various applications. With its durable design and user-friendly interface, the PT-E100VP is an essential tool for on-site labeling tasks.</p>
2091 <p>The Brother PT-E300VP is a professional-grade handheld label printer tailored for electricians, datacom installers, and industrial professionals. It offers specialized labeling functions, including cable wrap, cable flag, and faceplate labeling, ensuring quick and accurate identification in various applications. With its durable design and user-friendly interface, the PT-E300VP is an essential tool for on-site labeling tasks.</p>
2092 <p>The Brother PT-E550WVP is a professional-grade, handheld label printer designed for electricians, datacom, and industrial professionals. It offers advanced connectivity options, high-speed printing, and a range of specialized labeling functions to streamline complex labeling tasks on-site.</p>
2093 <p>Brother TZe label tapes are high-quality, laminated tapes designed for durable, long-lasting labels in both indoor and outdoor environments. This range includes various widths — from 6mm up to 24mm — all featuring black text on a white background. These tapes are resistant to water, fading, abrasion, extreme temperatures, and chemicals, making them ideal for office, industrial, and home use. Each tape delivers crisp, easy-to-read labels that adhere strongly to smooth, flat surfaces. Compatible with a wide range of Brother P-touch label printers, these TZe tapes are perfect for labeling cables, shelving, tools, panels, storage boxes, and more.</p>
2098 <p>Brother DK label rolls are high-quality, pre-sized and continuous labels designed for use with Brother QL series label printers. These labels deliver fast, professional, and reliable printing for shipping, barcoding, filing, visitor badges, and general office labeling. Available in both die-cut and continuous formats, DK labels are easy to install and offer strong adhesion on a variety of surfaces. Whether you need small file labels or large shipping labels, the DK series offers a versatile solution with crisp, smudge-free printing.</p>
2103 <p>The Brother BTD100 series ink bottles are designed for high-efficiency, refillable ink tank printers, offering outstanding print quality and exceptional value. These genuine dye-based inks deliver rich, vibrant color and sharp, professional black text ideal for everyday home or office use. The spill-free bottle design ensures quick, mess-free refills. With impressive page yields, the <strong>BTD100BK black ink can print up to 15,000 pages</strong>, while each <strong>color ink (Cyan, Magenta, Yellow) prints up to 5,000 pages</strong>, helping you save more on every refill without compromising print performance.</p>
2121 <p>The <strong>TN-279 Toner Cartridge Pack</strong> is a complete high-performance solution designed for Brother color laser printers. This value pack includes all four essential toner colors—Black, Cyan, Magenta, and Yellow—in a single convenient package, ensuring vibrant, consistent color prints and sharp black text. Engineered for reliability and optimal performance, each cartridge is easy to install and works seamlessly with compatible Brother printers to produce high-quality documents with professional clarity. Ideal for office environments with high-volume printing needs, this bundle offers both cost-efficiency and convenience by eliminating the need to purchase cartridges individually.</p>
2122 <p>The <strong>Brother TN-2500 Black Toner Cartridge</strong> is a high-yield monochrome toner designed for consistent, crisp black-and-white printing. It delivers sharp text and clean graphics, making it ideal for professional documents and reports. Built to work perfectly with Brother mono laser printers, the TN-2500 offers reliable page yields and smooth operation, ensuring minimal downtime and maximum productivity. This toner is a dependable choice for users who demand long-lasting, high-quality prints at a competitive cost.</p> <p></p>