SELECT 
  cscart_dosiin_posts.*, 
  cscart_dosiin_post_descriptions.*, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path 
FROM 
  cscart_dosiin_posts 
  LEFT JOIN cscart_dosiin_post_categories ON cscart_dosiin_post_categories.post_id = cscart_dosiin_posts.post_id 
  LEFT JOIN cscart_dosiin_categories ON cscart_dosiin_categories.category_id = cscart_dosiin_post_categories.category_id 
  LEFT JOIN cscart_dosiin_post_descriptions ON cscart_dosiin_posts.post_id = cscart_dosiin_post_descriptions.post_id 
  AND cscart_dosiin_post_descriptions.lang_code = 'en' 
  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = cscart_dosiin_posts.post_id 
  AND cscart_seo_names.type = 'b' 
  AND cscart_seo_names.dispatch = '' 
  AND cscart_seo_names.lang_code = 'en' 
WHERE 
  cscart_dosiin_posts.post_id = 579 
  AND (
    cscart_dosiin_categories.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_dosiin_categories.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_dosiin_categories.usergroup_ids
    )
  ) 
  AND (
    cscart_dosiin_posts.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_dosiin_posts.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_dosiin_posts.usergroup_ids
    )
  ) 
  AND cscart_dosiin_categories.status IN ('A', 'H') 
  AND cscart_dosiin_posts.status IN ('A', 'H')

Query time 0.00161

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_dosiin_posts",
          "access_type": "const",
          "possible_keys": ["PRIMARY", "status"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["post_id"],
          "ref": ["const"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "cscart_dosiin_post_descriptions",
          "access_type": "const",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["post_id", "lang_code"],
          "ref": ["const", "const"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "cscart_dosiin_post_categories",
          "access_type": "ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["post_id"],
          "ref": ["const"],
          "rows": 1,
          "filtered": 100,
          "using_index": true
        }
      },
      {
        "table": {
          "table_name": "cscart_dosiin_categories",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["category_id"],
          "ref": ["dev_db.cscart_dosiin_post_categories.category_id"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "(cscart_dosiin_categories.usergroup_ids = '' or find_in_set(0,cscart_dosiin_categories.usergroup_ids) or find_in_set(1,cscart_dosiin_categories.usergroup_ids)) and cscart_dosiin_categories.`status` in ('A','H')"
        }
      },
      {
        "table": {
          "table_name": "cscart_seo_names",
          "access_type": "ref",
          "possible_keys": ["PRIMARY", "dispatch"],
          "key": "PRIMARY",
          "key_length": "206",
          "used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
          "ref": ["const", "const", "const", "const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(cscart_seo_names.`type` = 'b' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'en')"
        }
      }
    ]
  }
}

Result

post_id date timestamp separate status localization image_id company_id discussion_type author is_sent sent_timestamp featured usergroup_ids use_avail_period avail_from_timestamp avail_till_timestamp type total_view vote_up name short_description description lang_code page_title post_h2 post_h3 meta_description meta_keywords seo_name seo_path
579 1729477320 1729477320 N A 0 519 D Nguyet N 0 N 0 N 0 0 R 284 31 APT Party Night: A Step-by-Step Guide Ever heard of the APT drinking game everyone's talking about? Let's dive into the fun! We'll show you how to play and how to host a party as awesome as Rosé and Bruno Mars' music video. Your friends won't be able to resist joining in! <p>Want to throw an epic party and try the super-hot APT game that Rosé (Blackpink) loves? This guide will show you how to create an unforgettable party right in your own apartment, from start to finish. We'll cover everything from decorations and music to food, drinks, and tips for playing the hottest new game. Your friends will be talking about this party for weeks!</p> <h2><strong>1. Preparing the party space:</strong></h2> <h3><em><strong>- Decorations:</strong></em></h3> <p>Imagine you're throwing a party and want to make it super fun and exciting! Here are some ways to decorate:</p> <p><em>+ Colors and Lights: </em></p> <p>Use lots of bright, colorful balloons to fill the room. Add flashing lights to make everything sparkle and dance. Hang banners with fun messages or pictures to set the mood.</p> <p><em>+ Choose a Theme:</em> Pick a theme that you and your guests will love! Some popular choices include:</p> <ul> <li>Beach Party: Think palm trees, sandcastles, and ocean waves.</li> <li>Disco Night: Get groovy with disco balls, mirror balls, and neon colors.</li> <li>Anime World: Bring your favorite anime characters to life with posters and cosplay.</li> <li>80s Throwback: Time travel with neon colors, leg warmers, and classic 80s music.</li> <li>Rosé-Inspired: If you're a fan of Rosé, take inspiration from her unique style, like pastel colors, floral patterns, or edgy accessories.</li> </ul> <h3><em>- Music:</em></h3> <p>Make a playlist with super catchy, high-energy songs that are pop, rock, or pop-punk. Think of hits like Rosé and Bruno Mars' "APT." To make it even more exciting, add the hottest tracks from Spotify or Apple Music.</p> <p> <span style="font-weight: 400;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://chus.vn/images/Blog/ROSE%20game/Rose-Bruno-Mars-APT--01.jpg?1729353396854" alt="APT, drinking game, trò chơi uống rượu, ROSE, Bruno Mars, tiệc, party" width="1000" height="563" /></span></p> <p> </p> <h2><strong>2. Party attire</strong></h2> <p>You can set a specific dress code and ask guests to dress up to match the party's theme. For instance, you could have a pajama party, a costume party inspired by the colors in the APT music video, or a retro 90s-themed party. What's more, you can encourage guests to express their personal style and creativity through their outfits to make the party truly one-of-a-kind.</p> <p><span style="font-weight: 400;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://inthebooth.com.au/wp-content/uploads/2024/02/Costume-Party-Photo-Booth.jpg" alt="party, cosplay party, trang phục cho buổi tiệc, ý tưởng tổ chức tiệc" width="900" height="898" /></span></p> <h2><strong>3. Food and drinks</strong></h2> <h3><strong><i>- Drinks</i></strong></h3> <p><strong>+ Beer:</strong><span style="font-weight: 400;"> Offer a selection of beers, including light and refreshing lagers, cloudy wheat beers, and unique craft brews.</span></p> <p style="text-align: center;"><span style="font-weight: 400;">SHORT_CODE_48</span></p> <p><strong>+ Cocktail: </strong>Mix up some classic cocktails like mojitos and margaritas, or get creative with colorful and eye-catching drinks.</p> <p><strong>+ Non-alcoholic options: </strong>Keep everyone hydrated with a variety of soft drinks and fresh fruit juices.</p> <h3><strong><i>- Party snacks</i></strong></h3> <p><strong>+ <a href="https://chus.vn/nuts-seeds/" target="_blank" rel="noopener">Nuts</a>: </strong>Enjoy a handful of almonds, walnuts, or cashews for a healthy and delicious treat.</p> <p style="text-align: center;"><span style="font-weight: 400;">SHORT_CODE_49</span></p> <p><strong>+ Crispy Classics:</strong> Satisfy your cravings with crispy potato chips or buttery popcorn.</p> <p><strong>+ Savory Bites: </strong>Mini sausages and chicken wings are perfect for adding a savory kick to your party.</p> <p><strong>+ Crunchy Combos: </strong>Pair crackers or cookies with your favorite cheese, spread, or jam for a tasty snack.</p> <p><strong>+ Sweet and Refreshing: </strong>Balance the flavors with fresh fruits like watermelon, honeydew, grapes, or apples.</p> <h2><strong>4. APT drinking game</strong></h2> <p>Parties are even more fun when there are exciting games to play. And in 2024, one game that's super popular is APT. This game got really famous because of a song by Rosé (from BLACKPINK) and Bruno Mars. APT is short for 'Apartment,' and it's a simple but really fun game. With APT, any party can be more exciting and full of laughter. It's a great way for everyone to have fun together.</p> <p> </p> <p><span style="font-weight: 400;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://chus.vn/images/Blog/ROSE%20game/episode-help-apt-game-v0-09d35ucsrlvd1.webp?1729352058828" alt="ROSE, APT, drinking game, trò chơi uống rượu, chus, chusvn" width="1080" height="675" /></span></p> <h3><strong><i>- How to play APT</i></strong></h3> <ul> <li style="font-weight: 400;" aria-level="1">Choose a Leader:</li> </ul> <p>One person is selected to be the game leader. The leader starts by singing "apateu, apateu, apateu". (This is just a fun chant to start the game.)</p> <ul> <li style="font-weight: 400;" aria-level="1">Call a Floor Number:</li> </ul> <p>The leader will call out a number, which represents a "floor" in an apartment. For example, they might say "11th floor".</p> <ul> <li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Stack Your Hands:</span></li> </ul> <p>Everyone in the game will stack their hands on top of each other, one by one, just like building an apartment.</p> <ul> <li style="font-weight: 400;" aria-level="1">Remove Hands:</li> </ul> <p>When the leader calls out a floor number, players must remove their hands until there are only the number of layers called out left. For instance, if the leader says "11th floor", players keep removing hands until there are only 11 layers of hands left.</p> <ul> <li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Loser: </span></li> </ul> <p>The person who removes their hand when there are exactly the number of layers called out by the leader is the loser. For example, if the leader says "11th floor" and someone removes their hand when there are 11 layers, they lose.</p> <ul> <li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Penalty: </span></li> </ul> <p>The loser has to drink a certain amount of beer or alcohol, as decided by the group before the game starts.</p> <h3><strong><i>- Lưu ý:</i></strong></h3> <p><span style="font-weight: 400;">+ Let's keep our drinking in check! Remember, don't drink and drive.</span></p> <p><span style="font-weight: 400;">+ Games are meant to be fun, so let's all be good sports and respect each other.</span></p> <h2><strong>5. Party gifts</strong></h2> <p>Add a personal touch to your party by giving out small, thoughtful gifts. A custom engraved keychain, a popular pickleball tote bag, or a homemade cookie with a sweet message can make your guests feel appreciated.</p> <p style="text-align: center;"><span style="font-weight: 400;">SHORT_CODE_50</span></p> <h2><strong>6. To sum it up</strong></h2> <p>There you have it! With these tips, you can plan a memorable home party. Imagine a night filled with laughter, good food, great gifts and wonderful company.</p> en APT Party Night: A Step-by-Step Guide Ever heard of the APT drinking game everyone's talking about? Let's dive into the fun! We'll show you how to play and how to host a party as awesome as Rosé and Bruno Mars' music video. Your friends won't be able to resist joining in! party, your, game, leader, floor, there, their, make apt-party-night-a-step-by-step-guide 7