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 IN (40880) 
  AND cscart_discussion_posts.status = 'A' 
ORDER BY 
  cscart_discussion_posts.timestamp DESC 
LIMIT 
  0, 10

Query time 0.00046

JSON explain

{
  "query_block": {
    "select_id": 1,
    "read_sorted_file": {
      "filesort": {
        "sort_key": "cscart_discussion_posts.`timestamp` desc",
        "table": {
          "table_name": "cscart_discussion_posts",
          "access_type": "ref",
          "possible_keys": ["thread_id", "thread_id_2"],
          "key": "thread_id_2",
          "key_length": "6",
          "used_key_parts": ["thread_id", "status"],
          "ref": ["const", "const"],
          "rows": 6,
          "filtered": 100,
          "index_condition": "cscart_discussion_posts.`status` = 'A'",
          "attached_condition": "cscart_discussion_posts.thread_id <=> 40880 and cscart_discussion_posts.`status` <=> 'A'"
        }
      }
    },
    "table": {
      "table_name": "cscart_discussion_messages",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "3",
      "used_key_parts": ["post_id"],
      "ref": ["cscart_migrate.cscart_discussion_posts.post_id"],
      "rows": 1,
      "filtered": 100
    },
    "table": {
      "table_name": "cscart_discussion_rating",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "3",
      "used_key_parts": ["post_id"],
      "ref": ["cscart_migrate.cscart_discussion_posts.post_id"],
      "rows": 1,
      "filtered": 100
    }
  }
}

Result

post_id thread_id name timestamp user_id ip_address status email message rating_value
119905 40880 Earl 1469187360 0 69.129.225.66 A I was told by an antique lighting guy that there was no place to order parts for my old porcelain light covers. Well I guess he has never been to this web-site. The parts matched perfect. Even had the hex to match hex opening on the light. Couldn't be happier. 5
118519 40880 William Miller 1458500940 0 75.179.175.161 A I bought 2 Replacement Sockets and cords. I found 2 old barn shades in a garage sale. Thought they would look good hanging in the garage. The new replacement sockets fit the shades perfectly. Thanks 5
86232 40880 Chad B 1417463220 0 71.13.182.7 A I bought two of these from Barn Light at separate times. Although it took a bit longer to ship than I have normally experienced with other companies, I was willing to overlook this after having such a pleasant experience with Barn Light customer service regarding a couple questions I had. Short story- I will pay more for(and wait longer for) a product of great quality, domestically made, employing people that need a helping hand after a rough period in their life. Goes without saying that American made product does need to be competitive to remain relevant these days, but this company has a unique story and ultimately first rate product, which I value above all. Keep making great stuff, Barn Light! 5
70756 40880 Jay P. 1414613460 0 73.180.177.5 A Bought this hex replacement socket and standard black cord. The quality is five-stars. The amount of time it took to receive it (about two weeks) was frustrating (even though there is a mention of an extended wait on the web site.) The price tag of $45 for one of the cool fabric wrapped cords is out of whack! I bought my own UL Listed fabric wrapped cord from a seller on Etsy for $10 and rewired the socket myself in about 10 minutes with a soldiering iron. All in all a good company and a good product. Just wish it came sooner and the accessories were more reasonably priced. 4
67819 40880 Bulldog News 1413835800 0 209.210.220.34 A Order the replacement socket and cord for some barn lights I found stashed deep in our forgotten storage unit. I cleaned them up, installed the new parts, connected the end of the cord to a track lighting fixture, and they look great! Brightens up the store. 5
43834 40880 Brent McCallister 1410959460 0 97.104.104.84 A Barn Light Electric supplied me with UL approved socket assembly and cord to retrofit my antique Benjamin industrial light fixtures to my new "Cracker" style home in a remote Florida location. This assembly will pass local electrical inspections. No other electrical supply company was able or willing to help me save and reuse these beautiful lights. Thank you Barn Light! 5