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 = 216 
  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.00346

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": 2,
          "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
216 1711105620 1711105620 N A 0 519 D NT N 0 N 0 N 0 0 R 203 464 Quiz: Discover yourself & find the perfect Black Valentine's day gift <span style="font-weight: 400;">Feeling single on Valentine's Day? Celebrate Black Valentine's Day by treating yourself! Take our fun quiz to discover your hidden interests and find the perfect gift for the amazing you. From self-care essentials to creative outlets, we've got unique present ideas to pamper yourself.</span> <p><span style="font-weight: 400;"><a href="https://chus.vn/black-valentine-bi-an-dang-sau-ngay-le-doc-than-vui-ve/" target="_blank" rel="noopener">Black Valentine</a>, celebrated on April 14th, is a day dedicated to singles. Instead of feeling down about being single, let's turn this day into an opportunity to love and cherish ourselves more. Gifting yourself something meaningful is a wonderful way to show self-care and appreciation.</span></p> <p><span style="font-weight: 400;">What to gift yourself on Black Valentine? Try following these suggestions from <a href="https://chus.vn/" target="_blank" rel="noopener">CHUS</a>:</span></p> <p><span style="font-weight: 400;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://chus.vn/images/Blog/Black%20Valentine%20Day/hand-holding-flower-with-thinking-you-text.jpeg?1711082849510" alt="Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="750" /></span></p> <h2><strong>Discover your hidden interests:</strong></h2> <p><span style="font-weight: 400;">Take 5 minutes to answer these questions and explore your hidden interests!</span></p> <h3><strong><i>Question 1: What do you like to do in your free time?</i></strong></h3> <p><span style="font-weight: 400;">a) Read books, watch movies, listen to music</span></p> <p><span style="font-weight: 400;">b) Meet friends, go out, participate in social activities</span></p> <p><span style="font-weight: 400;">c) Learn new things, take courses, improve skills</span></p> <p><span style="font-weight: 400;">d) Exercise, play sports, go to the gym</span></p> <p><span style="font-weight: 400;">e) Do creative work, draw, write, design</span></p> <h3><strong><i>Question 2: What kind of people are you usually attracted to?</i></strong></h3> <p><span style="font-weight: 400;">a) Intelligent, knowledgeable, well-read people</span></p> <p><span style="font-weight: 400;">b) Happy, outgoing, social people</span></p> <p><span style="font-weight: 400;">c) Energetic, enthusiastic, responsible people</span></p> <p><span style="font-weight: 400;">d) Strong, individualistic, independent people</span></p> <p><span style="font-weight: 400;">e) Creative, artistic, people with good taste</span></p> <h3><strong><i>Question 3: What are you most proud of yourself for?</i></strong></h3> <p><span style="font-weight: 400;">a) Ability to learn and absorb knowledge quickly</span></p> <p><span style="font-weight: 400;">b) Ability to communicate and make friends with everyone</span></p> <p><span style="font-weight: 400;">c) Ability to solve problems and make decisions</span></p> <p><span style="font-weight: 400;">d) Ability to endure and overcome challenges</span></p> <p><span style="font-weight: 400;">e) Ability to be creative and create new things</span></p> <h3><strong><i>Question 4: What is your biggest goal in life?</i></strong></h3> <p><span style="font-weight: 400;">a) Have a stable job with a high-income</span></p> <p><span style="font-weight: 400;">b) Have a happy and fulfilling family</span></p> <p><span style="font-weight: 400;">c) Contribute to society and help others</span></p> <p><span style="font-weight: 400;">d) Travel the world and explore new things</span></p> <p><span style="font-weight: 400;">e) Leave a mark in the field of art and creativity</span></p> <h3><strong><i>Question 5: When you encounter difficulties, what do you usually do?</i></strong></h3> <p><span style="font-weight: 400;">a) Seek information and learn from others</span></p> <p><span style="font-weight: 400;">b) Share with friends and family for advice</span></p> <p><span style="font-weight: 400;">c) Solve the problem on your own, not relying on anyone</span></p> <p><span style="font-weight: 400;">d) Seek help from experts</span></p> <p><span style="font-weight: 400;">e) Find inspiration from successful people</span></p> <h3><strong><i>Results:</i></strong></h3> <p><strong>- Mostly A:</strong><span style="font-weight: 400;"> </span></p> <p><span style="font-weight: 400;">You are a curious learner who loves knowledge. You enjoy reading books, watching documentaries, and taking courses to improve your knowledge.</span></p> <p><strong>- Mostly B:</strong><span style="font-weight: 400;"> </span></p> <p><span style="font-weight: 400;">You are an extrovert who enjoys socializing and interacting with others. You like meeting friends, participating in social activities, and helping others.</span></p> <p><strong>- Mostly C:</strong><span style="font-weight: 400;"> </span></p> <p><span style="font-weight: 400;">You are an energetic and responsible person. You enjoy participating in group activities, solving problems, and making decisions.</span></p> <p><strong>- Mostly D:</strong><span style="font-weight: 400;"> </span></p> <p><span style="font-weight: 400;">You are a strong and independent individual. You enjoy exercising, playing sports, and challenging yourself.</span></p> <p><strong>- Mostly E:</strong><span style="font-weight: 400;"> </span></p> <p><span style="font-weight: 400;">You are a creative and artistic person with good taste. You enjoy drawing, writing, designing, and creating new things.</span></p> <p><strong><i>Note: </i></strong><i><span style="font-weight: 400;">This is just a simple quiz to help you explore your hidden interests. You can find more reliable personality tests for more accurate results.</span></i></p> <p><i><span style="font-weight: 400;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://chus.vn/images/Blog/Black%20Valentine%20Day/love-yourself-inscription-purple-table.jpeg?1711083159099" alt="Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="667" /></span></i></p> <h2><strong>Black Valentine gift ideas for yourself based on your hidden interests</strong></h2> <h3><strong><i>1. For the learner, explorer, and knowledge lover:</i></strong></h3> <p><strong>- Books: </strong></p> <p><span style="font-weight: 400;">Choose a good book in your favorite genre to immerse yourself in a world of knowledge and entertainment.</span></p> <p><span style="font-weight: 400;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://chus.vn/images/Blog/Black%20Valentine%20Day/reading%20book%2C%20sa%CC%81ch%20cho%20ba%CC%89n%20tha%CC%82n%2C%20Single%2C%20Self-love%2C%20Gift%20ideas%2C%20Black%20Valentine%2C%20qua%CC%80%20ta%CC%A3%CC%86ng%20Black%20Valentine%2C%20qua%CC%80%20ta%CC%A3%CC%86ng%20cho%20ba%CC%89n%20tha%CC%82n%2C%20so%CC%9B%CC%89%20thi%CC%81ch%2C%20ye%CC%82u%20thu%CC%9Bo%CC%9Bng%20ba%CC%89n%20tha%CC%82n.jpeg?1711083262421" alt="reading book, sách cho bản thân, Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="688" /></span></p> <p><strong>- Miniature plants: </strong></p> <p><span style="font-weight: 400;"><a href="https://chus.vn/ngam-cay-trong-binh-en/" target="_blank" rel="noopener">Miniature plants</a> will help bring nature into your study space, creating a relaxing and stress-reducing atmosphere.</span></p> <p><a href="https://chus.vn/hoa-toc-o-tphcm-qua-tang-binh-hoa-tieu-phuong-thao-thuy-tinh-ngam-cay-trong-binh/" target="_blank" rel="noopener"><span style="font-weight: 400;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://static.chus.vn/images/thumbnails/850/566/product_mood_image/267/10793_02_M1.jpg" alt="cây cảnh mini, Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="666" /></span></a></p> <p><strong>- Stationery gift set: </strong></p> <p><span style="font-weight: 400;">A stationery gift set, such as notebooks, pens, highlighters, etc., will help you take notes and work more effectively. <a href="https://chus.vn/stationery/" target="_blank" rel="noopener">Chus has a wide variety of stationery to choose from</a>.</span></p> <p><a href="https://chus.vn/so-tay-believer/" target="_blank" rel="noopener"><span style="font-weight: 400;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://static.chus.vn/images/thumbnails/850/566/product_mood_image/174/10223_01_M1.jpg" alt="sổ tay, Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="666" /></span></a></p> <h3><strong><i>2. For the outgoing, sociable, and communicative person:</i></strong></h3> <p><strong>- <a href="https://chus.vn/search/?query=ceramic%20cup&amp;tab=product" target="_blank" rel="noopener">Ceramic cup</a>: </strong></p> <p><span style="font-weight: 400;">A ceramic cup with a unique design will help you enjoy your coffee or hot tea even more.</span></p> <p style="text-align: center;"><a href="https://chus.vn/ly-gom-su-hoai-hoa-tiet-hoa-do?" target="_blank" rel="noopener"><span style="font-weight: 400;"><img src="https://chus.vn/images/detailed/267/10249_93_F1.jpg" alt="ly gốm sứ, Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="1000" /></span></a></p> <p><strong>- Tea set: </strong></p> <p><span style="font-weight: 400;">A beautiful tea set will help you entertain guests and elegantly enjoy tea.</span></p> <p><a href="https://chus.vn/bo-am-tra-dang-moi-su-xanh-pha-le?" target="_blank" rel="noopener"><span style="font-weight: 400;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://static.chus.vn/images/thumbnails/850/566/product_mood_image/174/10199_19_M1.jpg" alt="bộ ấm trà, bộ pha trà, ấm trà sứ, Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="666" /></span></a></p> <p><strong>- Vase: </strong></p> <p><span style="font-weight: 400;">A pretty <a href="https://chus.vn/search/?query=vase&amp;tab=product" target="_blank" rel="noopener">vase</a> with fresh flowers will brighten your living space.</span></p> <p style="text-align: center;"><a href="https://chus.vn/binh-hoa-bau-gom-su-lon?" target="_blank" rel="noopener"><span style="font-weight: 400;"><img src="https://chus.vn/images/detailed/220/10557_32_F1.jpg" alt="bình hoa, lọ gốm, bình hoa gốm sứ" width="1000" height="1000" /></span></a></p> <h3><strong><i>3. For the active, enthusiastic, and responsible person:</i></strong></h3> <p><strong>- <a href="https://chus.vn/search/?query=Bottle%20holder&amp;tab=product" target="_blank" rel="noopener">Bottle holder</a>:</strong></p> <p><span style="font-weight: 400;">A bottle holder is a great way to keep your water bottle at all times, ensuring you always hydrate to stay healthy. In addition, using a personal water bottle and bottle holder helps to reduce plastic waste, contributing to environmental protection.</span></p> <p><img style="display: block; margin-left: auto; margin-right: auto;" src="https://static.chus.vn/images/thumbnails/850/566/product_mood_image/176/10281_28_M1.jpg" alt="bottle holder, Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="666" /></p> <p><strong>- Herbal tea: </strong></p> <p><span style="font-weight: 400;"><a href="https://chus.vn/tea-and-infusions/" target="_blank" rel="noopener">Herbal tea</a> will help you relax after a stressful day at work. You can try chamomile, jasmine, lemongrass, stevia tea, or blends of different herbs.</span></p> <p> <a href="https://chus.vn/nhuan-phe-moc-tra-set-of-8-boxes/" target="_blank" rel="noopener"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://static.chus.vn/images/thumbnails/850/565/product_mood_image/244/10262_29_M1.jpg" alt="lotus tea, vietnamese tea, herbal tea, Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="665" /></a></p> <p><strong>- A spa/massage session:</strong><span style="font-weight: 400;"> </span></p> <p><span style="font-weight: 400;">You will have time to take care of your health, relax, and recharge after stressful working hours.</span></p> <p><span style="font-weight: 400;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://chus.vn/images/Blog/Black%20Valentine%20Day/spa%20time.jpeg?1711096807490" alt="spa time, Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="667" /></span></p> <h3><strong><i>4. For the strong, individualistic, and independent person:</i></strong></h3> <p><strong>- Personal clothing: </strong></p> <p><span style="font-weight: 400;">Buy a <a href="https://chus.vn/fashion/" target="_blank" rel="noopener">personal outfit</a> to express your unique style.</span></p> <p style="text-align: center;"><span style="font-weight: 400;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://chus.vn/images/detailed/259/10741_01_F1.jpg" alt="tshirt, Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="1000" /></span></p> <p style="text-align: center;"><span style="font-weight: 400;"><em>Show off your personality with a T-shirt featuring meticulous hand-sewn stitching. <a href="https://chus.vn/iris-handmade-pattern-cotton-t-shirt/" target="_blank" rel="noopener">If you like it, check it out here!</a></em></span></p> <p><strong>- Unique accessories: </strong></p> <p><span style="font-weight: 400;">Buy a unique accessory to accentuate your style.</span></p> <p style="text-align: center;"><a href="https://chus.vn/youth-55cm-square-silk-scarf-with-hand-rolled-hem/" target="_blank" rel="noopener"><span style="font-weight: 400;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://chus.vn/images/detailed/248/10710_07_F1.jpg" alt="Scarf, Accessory, Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="1000" /><br /></span></a><em><span style="font-weight: 400;">A scarf with a one-of-a-kind pattern and design will make your wardrobe and outfit more colorful. <a href="https://chus.vn/msken-en/" target="_blank" rel="noopener">Find it out here!</a></span></em></p> <p><strong>- Treat yourself to a tattoo: </strong></p> <p><span style="font-weight: 400;">Treat yourself to a meaningful tattoo to express your personality.</span></p> <p> <img style="display: block; margin-left: auto; margin-right: auto;" src="https://chus.vn/images/Blog/Black%20Valentine%20Day/BTS%20tatoo.jpeg?1711097413378" alt="bts tatoo, love yourself, Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="750" /></p> <h3><strong><i>5. For the creative, artistic, and aesthetically-minded person:</i></strong></h3> <p><strong>- Drawing kit: </strong></p> <p><span style="font-weight: 400;">A drawing kit that includes brushes, paints, etc., will help unleash your creativity.</span></p> <p><span style="font-weight: 400;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://chus.vn/images/Blog/Black%20Valentine%20Day/Drawing%20kit.jpg?1711097451039" alt="drawing kit, Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="750" /></span></p> <p><strong>- Art decorations: </strong></p> <p><span style="font-weight: 400;">Help you decorate your living space more beautifully and express your artistic personality, for example, wall paintings, <a href="https://chus.vn/ceramic-figurine/" target="_blank" rel="noopener">ceramic figurines</a>, ceramic art, etc.</span></p> <div><a href="https://chus.vn/brown-ceramic-pig-figurine-pig-family-collection/" target="_blank" rel="noopener"><span style="font-weight: 400;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://static.chus.vn/images/thumbnails/850/566/product_mood_image/176/10207_08_M1.jpg" alt="ceramic figurine, vietnamese ceramic, Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="666" /></span></a></div> <br /> <p><strong>- Handmade gift set: </strong></p> <p><span style="font-weight: 400;">A DIY gift set that includes jewelry, keychains, etc., will help you express your creativity and craftsmanship.</span></p> <p><span style="font-weight: 400;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://static.chus.vn/images/thumbnails/850/566/detailed/266/10686_15_C2.jpg" alt="DIY, mosaic art, Single, Self-love, Gift ideas, Black Valentine, quà tặng Black Valentine, quà tặng cho bản thân, sở thích, yêu thương bản thân" width="1000" height="666" /></span></p> <p><span style="font-weight: 400;">In addition to the above suggestions, you can create unique and meaningful gifts for yourself. The most important thing is the gift reflects your interests and personality and helps you feel happier and more self-loving.</span></p> <h2><strong>Conclusion</strong></h2> <p><span style="font-weight: 400;">Black Valentine's is a time to appreciate and love yourself. Treat yourself to a meaningful gift to motivate yourself and look forward to a brighter future.</span></p> en Quiz: Discover yourself & find the perfect Black Valentine's day gift Feeling single on Valentine's Day? Celebrate Black Valentine's Day by treating yourself! Take our fun quiz to discover your hidden interests and find the perfect gift for the amazing you. From self-care essentials to creative outlets, we've got unique pre Black Valentine's Day, Single, Self-love, Gift ideas quiz-discover-yourself-and-find-the-perfect-black-valentines-day-gift 4