SELECT 
  cscart_discussion_posts.*, 
  cscart_discussion_messages.message, 
  cscart_discussion_rating.rating_value 
FROM 
  cscart_discussion_posts 
  LEFT JOIN cscart_discussion_messages ON cscart_discussion_messages.post_id = cscart_discussion_posts.post_id 
  LEFT JOIN cscart_discussion_rating ON cscart_discussion_rating.post_id = cscart_discussion_posts.post_id 
WHERE 
  cscart_discussion_posts.thread_id = 1 
  AND cscart_discussion_posts.status = 'A' 
ORDER BY 
  RAND() 
LIMIT 
  10

Query time 0.00035

JSON explain

{
  "query_block": {
    "select_id": 1,
    "const_condition": "1",
    "table": {
      "table_name": "cscart_discussion_posts",
      "access_type": "system",
      "possible_keys": ["thread_id", "thread_id_2"],
      "rows": 1,
      "filtered": 100
    },
    "table": {
      "table_name": "cscart_discussion_messages",
      "access_type": "system",
      "possible_keys": ["PRIMARY"],
      "rows": 1,
      "filtered": 100
    },
    "table": {
      "table_name": "cscart_discussion_rating",
      "access_type": "system",
      "possible_keys": ["PRIMARY"],
      "rows": 1,
      "filtered": 100
    }
  }
}

Result

post_id thread_id name timestamp user_id ip_address status message rating_value
1 1 May Jernigan 1746826740 0 6bd737c9 A It's been really great using Herbaria products instead of buying detergent based soap at the drugstore. The moisturizers they have are also the best I've used, and really help during the winter. I also love that they're vegan and chemical free! Definitely safe for sensitive skin folks. Highly recommend Herbaria and Bubbles the shop dog 5