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 = 345 
  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.00502

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
345 1717230480 1717230480 N A 0 519 D Hồng Anh N 0 N 0 N 0 0 R 280 241 Why Personalized Gifts? 6 Reasons to Choose & Impress Loved Ones <p>Personalized gifts are increasingly favored by Gen Z and Gen Y. Let's explore with Chus the reasons that make personalized gifts so special.</p> <p>In today's fast-paced modern life, gifts are not just objects exchanged; they serve as bridges of affection, conveying silent messages of sincere feelings. Amidst countless options, <a href="https://chus.vn/personalized-gifts-a-growing-trend-gen-z/" target="_blank" rel="noopener"><em><strong>personalized gifts are becoming increasingly popular</strong></em></a> due to their ability to touch the recipient's heart with uniqueness and significance. Let's explore why personalized gifts have become so special with Chus.</p> <h2>How personalized gifts stand out</h2> <p><strong>Gift-giving</strong> has always been an integral part of human social life. It's not just about physical objects but also about expressing emotions, care, and appreciation for each other. A meaningful gift can speak volumes, bringing joy, surprise, and happiness to the recipient.</p> <p><a href="https://chus.vn/personalized-gifts/" target="_blank" rel="noopener"><em><strong>Personalized gifts</strong></em></a> are those "breathed life into" by unique details, bearing the personal touch of the recipient. It could be a mug with their name, a shirt embroidered with initials, a collage of memorable photos, or simply a heartfelt message engraved on a gift.</p> <p>Amidst a myriad of generic gifts, personalized ones stand out for their personal touch. Each detail on a personalized gift is carefully crafted, showing deep care and understanding.</p> <h2>6 reasons why you should pick Personalized Gifts</h2> <h3>1. Uniqueness</h3> <p>What makes personalized gifts so special and popular? The answer lies in their uniqueness and distinctiveness. Unlike generic gifts, personalized gifts bear the personal touch of both the giver and the recipient. Because personalized gifts are unique and cannot be replicated.</p> <p>Instead of conventional gifts, you can choose a <a href="https://chus.vn/line-art-engraved-scented-candle-wooden-wick-en/" target="_blank" rel="noopener"><em><strong>scented candle with carved images</strong></em></a> of shared memories, a monogrammed T-shirt, or a <a href="https://chus.vn/small-custom-chibi-portrait-with-wood-frame/" target="_blank" rel="noopener"><em><strong>custom chibi drawing frame</strong></em></a> from memorable moments. Each personalized gift tells a story, a memorable experience preserved forever. Every time the recipient looks at the gift, they will remember you, the beautiful memories, and the sincere feelings you've bestowed upon them.</p> <h3>2. Emotional value</h3> <p>The value of personalized gifts lies not only in their material worth but also in the emotional value they bring. When receiving a gift designed specifically for them, the recipient feels cherished, loved, and specially cared for.</p> <p>Personalized gifts are not just objects; they are part of memories, bridging the past and the present, connecting the emotions between the giver and the recipient.</p> <h3>3. Infinite creativity</h3> <p>There are no limits to creativity when it comes to creating personalized gifts. You can make a handmade gift or choose a unique product on Chus.</p> <p>Whether you choose any method, let your emotions and sincerity be an endless source of inspiration, creating the most unique and meaningful personalized gifts.</p> <h3>4. Sincere care</h3> <p>Personalized gifts demonstrate that you've taken the time and effort to understand the recipient's interests and desires. This shows genuine care and sincere feelings.</p> <h3>5. Trend of the future</h3> <p>In the digital age, personalized gifts are becoming increasingly common and popular. With the development of design and printing tools, creating unique gifts has never been easier.</p> <p>The trend of personalized gifts extends beyond personal information printing, expanding to create unique experiences, such as custom-designed trips, surprise parties, or exciting experiential activities.</p> <h3>6. Suitable for all special occasions</h3> <p>Personalized gifts are the perfect choice for all special occasions throughout the year. Whether it's a birthday, anniversary, Valentine's Day, or any other occasion, a personalized gift will always be meaningful and memorable, reflecting your care and sincere feelings for the recipient.</p> <h2><strong>Some personalization types for gifts</strong></h2> <p>To create a meaningful personalized gift, it doesn't need to be complicated. With a little creativity and dedication, you can turn ordinary items into unique works of art, bearing a personal touch.</p> <p>You can turn any gift into a meaningful personalized gift by:</p> <ul style="list-style-type: disc;"> <li><strong>Engraving names, messages:</strong> Engrave names, birthdates, meaningful messages on gifts to create a unique touch.</li> <li><strong>Printing memorable photos:</strong> Print memorable photos on cups, shirts, paintings, etc., to create unique and meaningful gifts.</li> <li><strong>Designing custom items:</strong> If you have design skills, create exclusive gift designs based on your ideas.</li> <li><strong>Choosing gifts based on preferences:</strong> Learn about the recipient's preferences to choose the most suitable personalized gifts.</li> </ul> <h2><strong>Conclusion</strong></h2> <p>Personalized gifts are not just gifts; they are a way for you to express sincere emotions and create unforgettable memories. Let Chus help you create unique and meaningful personalized gifts, made especially for you, so that each gift becomes a love story told with the heart.</p> en Why Personalized Gifts? 6 Reasons to Select Customized Treasures for Your Loved Ones Personalized gifts are increasingly favored by Gen Z and Gen Y. Let's explore with Chus the reasons that make personalized gifts so special. nhân, những, tặng, người, được, nhận, không, thành why-personalized-gifts-reasons-to-choose-impress-loved-ones 4