SELECT 
  SQL_CALC_FOUND_ROWS products.product_id, 
  descr1.product as product, 
  companies.company as company_name, 
  products.product_type, 
  products.parent_product_id, 
  descr1.full_description as full_description, 
  descr1.short_description as short_description, 
  GROUP_CONCAT(
    DISTINCT tags.tag 
    ORDER BY 
      tags.tag SEPARATOR ', '
  ) AS tags 
FROM 
  cscart_products as products 
  LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id 
  AND descr1.lang_code = 'en' 
  LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id 
  AND prices.lower_limit = 1 
  LEFT JOIN cscart_companies AS companies ON companies.company_id = products.company_id 
  INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id 
  INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id 
  AND (
    cscart_categories.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_categories.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_categories.usergroup_ids
    )
  ) 
  AND cscart_categories.status IN ('A', 'H') 
  AND cscart_categories.storefront_id IN (0, 1) 
  LEFT JOIN cscart_tag_links AS tags_links ON tags_links.object_id = products.product_id 
  AND tags_links.object_type = 'P' 
  LEFT JOIN cscart_tags AS tags ON tags.tag_id = tags_links.tag_id 
WHERE 
  1 
  AND cscart_categories.category_id IN (245, 246, 247, 248, 249) 
  AND companies.status IN ('A') 
  AND (
    products.usergroup_ids = '' 
    OR FIND_IN_SET(0, products.usergroup_ids) 
    OR FIND_IN_SET(1, products.usergroup_ids)
  ) 
  AND products.status IN ('A') 
  AND prices.usergroup_id IN (0, 0, 1) 
  AND products.parent_product_id = 0 
  AND (
    tags.status = 'A' 
    OR tags.tag_id IS NULL
  ) 
  AND products.product_type != 'D' 
GROUP BY 
  products.product_id, 
  products.product_id 
ORDER BY 
  product asc, 
  products.product_id ASC 
LIMIT 
  0, 12

Query time 0.00271

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.294181137,
    "filesort": {
      "sort_key": "descr1.product, products.product_id",
      "temporary_table": {
        "filesort": {
          "sort_key": "products.product_id",
          "temporary_table": {
            "nested_loop": [
              {
                "table": {
                  "table_name": "cscart_categories",
                  "access_type": "range",
                  "possible_keys": ["PRIMARY", "c_status", "p_category_id"],
                  "key": "PRIMARY",
                  "key_length": "3",
                  "used_key_parts": ["category_id"],
                  "loops": 1,
                  "rows": 5,
                  "cost": 0.00948507,
                  "filtered": 100,
                  "attached_condition": "cscart_categories.category_id in (245,246,247,248,249) and (cscart_categories.usergroup_ids = '' or find_in_set(0,cscart_categories.usergroup_ids) or find_in_set(1,cscart_categories.usergroup_ids)) and cscart_categories.`status` in ('A','H') and cscart_categories.storefront_id in (0,1)"
                }
              },
              {
                "table": {
                  "table_name": "products_categories",
                  "access_type": "ref",
                  "possible_keys": ["PRIMARY", "pt"],
                  "key": "PRIMARY",
                  "key_length": "3",
                  "used_key_parts": ["category_id"],
                  "ref": ["u985510652_ecartify_dev.cscart_categories.category_id"],
                  "loops": 5,
                  "rows": 20,
                  "cost": 0.02276545,
                  "filtered": 100
                }
              },
              {
                "table": {
                  "table_name": "products",
                  "access_type": "eq_ref",
                  "possible_keys": ["PRIMARY", "status", "idx_parent_product_id"],
                  "key": "PRIMARY",
                  "key_length": "3",
                  "used_key_parts": ["product_id"],
                  "ref": ["u985510652_ecartify_dev.products_categories.product_id"],
                  "loops": 100,
                  "rows": 1,
                  "cost": 0.1107432,
                  "filtered": 27.49785805,
                  "attached_condition": "products.parent_product_id = 0 and (products.usergroup_ids = '' or find_in_set(0,products.usergroup_ids) or find_in_set(1,products.usergroup_ids)) and products.`status` = 'A' and products.product_type <> 'D'"
                }
              },
              {
                "table": {
                  "table_name": "companies",
                  "access_type": "eq_ref",
                  "possible_keys": ["PRIMARY"],
                  "key": "PRIMARY",
                  "key_length": "4",
                  "used_key_parts": ["company_id"],
                  "ref": ["u985510652_ecartify_dev.products.company_id"],
                  "loops": 27.4978572,
                  "rows": 1,
                  "cost": 0.025414383,
                  "filtered": 100,
                  "attached_condition": "companies.`status` = 'A'"
                }
              },
              {
                "table": {
                  "table_name": "descr1",
                  "access_type": "eq_ref",
                  "possible_keys": ["PRIMARY", "product_id"],
                  "key": "PRIMARY",
                  "key_length": "9",
                  "used_key_parts": ["product_id", "lang_code"],
                  "ref": [
                    "u985510652_ecartify_dev.products_categories.product_id",
                    "const"
                  ],
                  "loops": 27.4978572,
                  "rows": 1,
                  "cost": 0.047121428,
                  "filtered": 100,
                  "attached_condition": "trigcond(descr1.lang_code = 'en')"
                }
              },
              {
                "table": {
                  "table_name": "prices",
                  "access_type": "ref",
                  "possible_keys": [
                    "usergroup",
                    "product_id",
                    "lower_limit",
                    "usergroup_id"
                  ],
                  "key": "product_id",
                  "key_length": "3",
                  "used_key_parts": ["product_id"],
                  "ref": ["u985510652_ecartify_dev.products_categories.product_id"],
                  "loops": 27.4978572,
                  "rows": 1,
                  "cost": 0.027585752,
                  "filtered": 96.69136047,
                  "attached_condition": "prices.lower_limit = 1 and prices.usergroup_id in (0,0,1)",
                  "using_index": true
                }
              },
              {
                "table": {
                  "table_name": "tags_links",
                  "access_type": "ref",
                  "possible_keys": ["PRIMARY"],
                  "key": "PRIMARY",
                  "key_length": "6",
                  "used_key_parts": ["object_type", "object_id"],
                  "ref": [
                    "const",
                    "u985510652_ecartify_dev.products_categories.product_id"
                  ],
                  "loops": 26.58805155,
                  "rows": 1,
                  "cost": 0.026465237,
                  "filtered": 100,
                  "attached_condition": "trigcond(tags_links.object_type = 'P')"
                }
              },
              {
                "table": {
                  "table_name": "tags",
                  "access_type": "eq_ref",
                  "possible_keys": ["PRIMARY"],
                  "key": "PRIMARY",
                  "key_length": "3",
                  "used_key_parts": ["tag_id"],
                  "ref": ["u985510652_ecartify_dev.tags_links.tag_id"],
                  "loops": 26.58805155,
                  "rows": 1,
                  "cost": 0.024600617,
                  "filtered": 100,
                  "attached_condition": "trigcond(tags.`status` = 'A' or tags.tag_id is null) and trigcond(trigcond(tags_links.tag_id is not null))"
                }
              }
            ]
          }
        }
      }
    }
  }
}

Result

product_id product company_name product_type parent_product_id full_description short_description tags
136 BlazBlue: Continuum Shift EXTEND Store P 0 <p>Experience the pinnacle of 2D anime fighting with BlazBlue: Continuum Shift EXTEND. This enhanced and expanded version of BlazBlue: Continuum Shift brings an even richer experience to both newcomers and seasoned veterans.</p> <p>**Key Features:**<br>* **Expanded Roster:** Unleash your fury with a diverse cast of characters, including the brand new playable character, Relius Clover, and the previously DLC-only Platinum the Trinity, Makoto Nanaya, and Valkenhayn R. Hellsing, now included from the start! Each character boasts unique "Drive" abilities, offering distinct playstyles and strategic depth.<br>* **Refined Combat:** Enjoy meticulously balanced gameplay, tighter controls, and new offensive and defensive options that elevate the fast-paced, high-octane battles. Execute devastating combos, master your character's Drive, and dominate your opponents.<br>* **Epic Story Mode:** Immerse yourself in a compelling, visual novel-style narrative that delves deeper into the BlazBlue universe. Follow multiple character paths, uncover hidden secrets, and witness the dramatic conclusion of the Continuum Shift saga, with new scenarios and fully voiced dialogue.<br>* **Abundant Game Modes:** Test your skills across a wealth of modes including Arcade, Versus, Challenge, Tutorial, Abyss Mode (a survival mode with RPG elements), Unlimited Mars, Legion Mode, and the brand new "Grimoire" mode, providing endless hours of gameplay.<br>* **Stunning Visuals & Soundtrack:** Revel in the gorgeous, hand-drawn 2D sprites and vibrant anime aesthetics, complemented by an epic, rock-infused soundtrack that fuels the intensity of every match.<br>* **Robust Online Play:** Challenge players worldwide in seamless online matches, climb the leaderboards, and prove your mastery in the ultimate test of skill.</p> <p>BlazBlue: Continuum Shift EXTEND is the definitive edition for fans seeking a deep, rewarding, and visually spectacular fighting game experience.</p> Dive into the ultimate 2D anime fighting experience with BlazBlue: Continuum Shift EXTEND! Featuring an expanded roster, refined mechanics, and a deep, engaging story, this definitive edition offers blistering combos and unique character 'Drive' abilities.
90 F.E.A.R. 3 (PS3) MX Store P 0 <p> <p>Studio: Warner Bros.</p> <p>Packaging Type: PS3</p> <p>Genre: GAME</p> <p>Synopsis:</p> <p>As a specialized soldier in the elite squad, First Encounter Assault Recon (F.E.A.R.), you must uncover the mystery of Armacham&rsquo;s current operations, reassemble the lost F.E.A.R. and Delta teams, and stop the powerful paranormal entity, Alma, before she releases the most unimaginable horror into this world.</p> </p>
95 Game Party: In Motion (X360) Store P 0 <p> </p> <p>Studio: Warner Home Video</p> <p>Packaging Type: Wii</p> <p>Genre: Puzzle</p> <p>Synopsis:</p> <p>Get off the couch and get ready for the party as Game Party: In Motion turns your living room into the ultimate fun filled arcade. Grab your friends and family and jump right into the action as you use the motion of your entire body to play 16 exciting games. Throw a football at moving targets as you dodge an oncoming rusher or toss ringers in a game of horseshoes. Game Party: In Motion lets family and friends alike connect, play and get things moving!</p> <p></p>
89 Green Lantern: Rise of the Manhunters (PS3) Store P 0 <p> <p>Studio: Warner Home Video</p> <p>Packaging Type: PS3</p> <p>Genre: Action/Adventure</p> </p>
82 Legend of the Guardians: the Owls of Ga'hoole(VG) Store P 0 <ul class="desc_details" style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; font-family: Verdana, Helvetica, Arial, sans-serif; vertical-align: baseline; list-style-position: initial; list-style-image: initial; color: #ffffff; line-height: 11px; padding: 0px; border: 0px initial initial;"><li style="padding-bottom: 5px; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: inherit; font-family: inherit; vertical-align: baseline; line-height: 15px; clear: left; margin: 0px; border: 0px initial initial;"><span style="color: #000000;"><strong>Studio:</strong> Warner Home Video</span></li> <li style="padding-bottom: 5px; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: inherit; font-family: inherit; vertical-align: baseline; line-height: 15px; clear: left; margin: 0px; border: 0px initial initial;"><span style="color: #000000;"><strong>Theatrical Release Date: </strong>09/23/2010</span></li> <li style="padding-bottom: 5px; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: inherit; font-family: inherit; vertical-align: baseline; line-height: 15px; clear: left; margin: 0px; border: 0px initial initial;"><span style="color: #000000;"><strong>Packaging Type:</strong> Wii</span></li> <li style="padding-bottom: 5px; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: inherit; font-family: inherit; vertical-align: baseline; line-height: 15px; clear: left; margin: 0px; border: 0px initial initial;"><span style="color: #000000;"><strong>Genre:</strong> Action/Adventure</span></li> <li style="padding-bottom: 5px; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: inherit; font-family: inherit; vertical-align: baseline; line-height: 15px; clear: left; margin: 0px; border: 0px initial initial;"> <ul class="desc_details" style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 11px; font-family: Verdana, Helvetica, Arial, sans-serif; vertical-align: baseline; list-style-position: initial; list-style-image: initial; color: #ffffff; line-height: 11px; padding: 0px; border: 0px initial initial;"> <li style="padding-bottom: 5px; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: inherit; font-family: inherit; vertical-align: baseline; line-height: 15px; clear: left; margin: 0px; border: 0px initial initial;"><span style="color: #000000; background-color: #ffffff;"><strong style="border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: inherit; font-family: inherit; vertical-align: baseline; padding: 0px; margin: 0px; border: 0px initial initial;">Theatrical Release Date:</strong>&nbsp;09/23/2010</span></li> <li style="padding-bottom: 5px; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-style: inherit; font-family: inherit; vertical-align: baseline; line-height: 15px; clear: left; margin: 0px; border: 0px initial initial;"><span style="color: #000000; background-color: #ffffff;">Ships to U.S. Destinations Only</span></li> </ul> </li> </ul> <p>&nbsp;</p>
84 Lego Batman (Wii) Store P 0 <p>&nbsp;</p> <p>Studio: Warner Bros.</p> <p>Packaging Type: Wii</p> <p>Copyright:</p> <p>BATMAN and all related characters and elements are trademarks of and &copy; DC Comics. WBIE LOGO, WB SHIELD: &trade; & &copy; Warner Bros. Entertainment Inc. (s08) LEGO, the LEGO logo and the Minifigure are trademarks of the LEGO Group. &copy; 2008 The LEGO Group. All Rights Reserved. LEGO BATMAN: THE VIDEOGAME Software &copy; 2008 TT Games Publishing Ltd. All other trademarks and copyrights are the property of their respective owners. All rights reserved.</p> <p>Genre: Action/Adventure, GAME</p> <p>Synopsis:</p> <p>Cartoon Violence</p> <p>&nbsp;</p> <p>When all the villains in Arkham Asylum team up and break loose, only the dynamic duo is bold enough to take them on to save Gotham City. The fun of LEGO, the drama of Batman and the uniqueness of the combination makes for a comical and exciting adventure in LEGO Batman: The Videogame. Play as Batman and his sidekick Robin as you build, drive, swing and fight your way through Gotham City capturing escaped villains including The Joker, Penguin, Scarecrow and more. Then, jump into the story from the other side and play as Batmans foes! Enjoy the power you wield and battle Batman while spreading chaos throughout the city. There is no rest for the good (or evil!).</p> <p>&nbsp;</p>
85 Looney Tunes: Acme Arsenal (Wii) Store P 0 <p>Tets</p>
88 Lord of the Rings: War in the North(PS3) Store P 0 <p>&nbsp;</p> <p>Studio: Warner Home Video</p> <p>Packaging Type: PS3</p> <p>Genre: Action/Adventure, Racing</p> <p>Synopsis:</p> <p>In The Lord of the Rings: War in the North, players will experience an unrivaled Co-Op based Action/RPG gameplay experience &ndash; banding together on an untold journey to defeat the Dark Lord Sauron&rsquo;s forces and turn the tide in the War of the Ring.</p> <p>&nbsp;</p>
47 MARVEL® VS. CAPCOM® 3: FATE OF TWO WORLDS SPECIAL EDITION (PS3) Store P 0 <p><span style="color: #242424; font-family: Arial, Verdana, Helvetica, sans-serif; text-align: left; background-color: #ffffff; font-size: xx-small; padding: 0px; margin: 0px;">The ultimate "VS." Series was born here!</span></p> <ul style="padding-top: 0px; padding-right: 20px; padding-bottom: 0px; padding-left: 20px; margin-top: 10px; margin-bottom: 20px; margin-left: 0px; list-style-position: initial; list-style-image: initial; color: #242424; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; text-align: left; background-color: #ffffff;"> <li style="padding-top: 2px; padding-bottom: 8px; padding-left: 20px; background-image: url(http://drh.img.digitalriver.com/DRHM/Storefront/Site/capcomus/cm/images/site/bg_bullet.jpg); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 0% 5px; background-repeat: no-repeat no-repeat; margin: 0px;"><strong style="padding: 0px; margin: 0px;">Innovative graphics and gameplay bring the Marvel&reg; and Capcom universes to life:</strong>Powered by an advanced version of MT Framework, the engine used in Resident Evil&reg; 5 and Lost Planet&reg; 2, Marvel&reg; vs. Capcom&reg; 3 brings beautiful backgrounds and character animations to the forefront</li> <li style="padding-top: 2px; padding-bottom: 8px; padding-left: 20px; background-image: url(http://drh.img.digitalriver.com/DRHM/Storefront/Site/capcomus/cm/images/site/bg_bullet.jpg); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 0% 5px; background-repeat: no-repeat no-repeat; margin: 0px;"><strong style="padding: 0px; margin: 0px;">Evolved VS. Fighting System:</strong>&nbsp;Wild over-the-top gameplay complete with signature aerial combos, hyper combos and more. The evolved new battle system, the &ldquo;Team Aerial Combo,&rdquo; takes the exciting mind-reading game to a whole new level!</li> <li style="padding-top: 2px; padding-bottom: 8px; padding-left: 20px; background-image: url(http://drh.img.digitalriver.com/DRHM/Storefront/Site/capcomus/cm/images/site/bg_bullet.jpg); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 0% 5px; background-repeat: no-repeat no-repeat; margin: 0px;"><strong style="padding: 0px; margin: 0px;">3-on-3 Tag Team Fighting:</strong>&nbsp;Players build their own perfect team by assigning unique &ldquo;Assist Attacks&rdquo; for each character and utilize each character&rsquo;s special moves to create their own unique fighting style</li> <li style="padding-top: 2px; padding-bottom: 8px; padding-left: 20px; background-image: url(http://drh.img.digitalriver.com/DRHM/Storefront/Site/capcomus/cm/images/site/bg_bullet.jpg); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 0% 5px; background-repeat: no-repeat no-repeat; margin: 0px;"><strong style="padding: 0px; margin: 0px;">Simple Mode:</strong>&nbsp;Streamlined button mapping option allows novice players to perform moves like a pro</li> <li style="padding-top: 2px; padding-bottom: 8px; padding-left: 20px; background-image: url(http://drh.img.digitalriver.com/DRHM/Storefront/Site/capcomus/cm/images/site/bg_bullet.jpg); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 0% 5px; background-repeat: no-repeat no-repeat; margin: 0px;"><strong style="padding: 0px; margin: 0px;">Living Comic Book Art Style:</strong>&nbsp;See the most adored characters from the Capcom and Marvel&reg; universes brought to life in a &ldquo;moving comic&rdquo; style, blurring the boundaries between 2D and 3D graphics</li> <li style="padding-top: 2px; padding-bottom: 8px; padding-left: 20px; background-image: url(http://drh.img.digitalriver.com/DRHM/Storefront/Site/capcomus/cm/images/site/bg_bullet.jpg); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 0% 5px; background-repeat: no-repeat no-repeat; margin: 0px;"><strong style="padding: 0px; margin: 0px;">New Characters:</strong>&nbsp;Popular returning characters include Spider-Man, Ryu, Wolverine, Morrigan, Iron Man, Hulk, Captain America, Felicia, Chun-Li, Tron Bonne, Magneto and Doctor Doom. Viewtiful Joe will make his debut in the Marvel vs. Capcom franchise.&nbsp;<strong style="padding: 0px; margin: 0px;">New characters joining the playable cast for the first time in fighting game history include Chris Redfield, Thor, Trish, Super-Skrull, Amaterasu, Dormammu, Wesker, X-23, Arthur, Deadpool, Nathan Spencer, M.O.D.O.K. and Dante!</strong></li> </ul> <p>&nbsp;</p>
138 Ridge Racer Store P 0 <p> <p>BEAUTY &amp; HIGH SPEED DRIFTING AROUND THE WORLD!</p> <p>The high-octane racing franchise drifts onto the PlayStation&reg;Vita delivering stunning graphics and heart-pounding action that players can truly feel. Ridge Racer&reg; features high-speed action, high-performance racing machines, and all-new gameplay additions creating an edge-of-your-seat experience only possible on the PlayStation&reg;Vita. Racing fans can also take the action online and tear up the track against players from around the globe using the PlayStation&reg;Vita &ldquo;near&rdquo; and Wi-Fi functionality and race against other players&rsquo; ghosts anywhere at anytime.</p> <p> <p>Vivid, next generation high-contrast graphics and advanced lighting effects powered by the PlayStation&reg;Vita painting processor</p> <p>An immersive audio experience with a dynamic soundscape that changes and evolves with each race according to the movement of your machine.</p> <p>All-new custom drift system enables players to tune the action to suit their style of driving. All new "Machine Upgrade Map" customization allows players to upgrade functional parts and create their own original machines</p> <p>New introduction of the Planetary League allows players to join in one of four racing teams and race against other players from around the world both at real-time and "anywhere at any time" by exchanging ghosts via "near" functionality.</p> <p>Compete against up to 7 other players from around the world with online (ad-hoc, Wi-Fi) multiplayer.</p> </p> </p>
93 Scene It? Bright Lights! Big Screen(X360) Store P 0 <p> <p>Studio: Warner Home Video</p> <p>Run Time: 1 minutes</p> <p>Packaging Type: XBOX 360 Amaray</p> <p>Genre: Party</p> <p>Synopsis:</p> <p>The popular movie trivia game franchise now launches its 3rd video game edition across all consoles with even more movie clips, feature-rich content, new mini-games, a dynamic visual package, DLC support, and four-player multiplayer.</p> </p>
87 Sesame Street:Cookie's Counting Carnival (Wii) Store P 0 <p> <p>Studio: Warner Home Video</p> <p>Packaging Type: Wii</p> <p>Synopsis:</p> <p>Cookie Monster and Big Bird will guide you through festive numbers games and teach you all about counting at the greatest Carnival of Numbers! Play fun games in the many areas of the carnival such as the Grandstand, Rides, Petting Zoo, Concession Stand, Theater, and the Arcade.</p> </p>