SELECT 
  discussion_posts.*, 
  discussion_messages.message, 
  discussion_rating.rating_value 
FROM 
  discussion_posts 
  LEFT JOIN discussion_messages ON discussion_messages.post_id = discussion_posts.post_id 
  LEFT JOIN discussion_rating ON discussion_rating.post_id = discussion_posts.post_id 
WHERE 
  discussion_posts.thread_id = 9763 
  AND discussion_posts.status = 'A' 
ORDER BY 
  discussion_posts.timestamp DESC 
LIMIT 
  0, 10

Query time 0.00086

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "2.65"
    },
    "ordering_operation": {
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "discussion_posts",
            "access_type": "ref",
            "possible_keys": [
              "thread_id",
              "thread_id_2"
            ],
            "key": "thread_id",
            "used_key_parts": [
              "thread_id"
            ],
            "key_length": "3",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 6,
            "rows_produced_per_join": 0,
            "filtered": "10.00",
            "cost_info": {
              "read_cost": "1.50",
              "eval_cost": "0.06",
              "prefix_cost": "2.10",
              "data_read_per_join": "268"
            },
            "used_columns": [
              "post_id",
              "thread_id",
              "name",
              "timestamp",
              "user_id",
              "ip_address",
              "status"
            ],
            "attached_condition": "(`goimagine`.`discussion_posts`.`status` = 'A')"
          }
        },
        {
          "table": {
            "table_name": "discussion_messages",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "post_id"
            ],
            "key_length": "3",
            "ref": [
              "goimagine.discussion_posts.post_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.28",
              "eval_cost": "0.06",
              "prefix_cost": "2.44",
              "data_read_per_join": "14"
            },
            "used_columns": [
              "message",
              "post_id"
            ]
          }
        },
        {
          "table": {
            "table_name": "discussion_rating",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "post_id"
            ],
            "key_length": "3",
            "ref": [
              "goimagine.discussion_posts.post_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.15",
              "eval_cost": "0.06",
              "prefix_cost": "2.65",
              "data_read_per_join": "9"
            },
            "used_columns": [
              "rating_value",
              "post_id"
            ]
          }
        }
      ]
    }
  }
}

Result

post_id thread_id name timestamp user_id ip_address status message rating_value
2257 9763 Belinda Mason 1680402562 10364 433c553e A Love, love, love my shirt! Definitely will be buying from this shop again. 5
2255 9763 Belinda Mason 1680402378 10364 433c553e A The shirt fit perfectly. I love it! It's perfect. 5
1707 9763 Belinda Mason 1661015460 10364 433c553e A I love love love my shirt. Super soft and fits perfectly. 5
1706 9763 Belinda Mason 1661015340 10364 433c553e A Perfect shirt. I love it!!! 5
1277 9763 Belinda Mason 1647736260 10364 433c553e A Bought the goimagine softball tee. I love it!! 5
227 9763 Brittany Batson 1602547680 2384 34906fe0 A I ordered a pumpkin shirt with pink sleeves, I was super interested in it and messaged Kimberly the owner about it she said it has been her best seller! So, I ordered it and when I got it I could see why!! The shirt itself is so soft the colors are vibrant and really pop! I will be ordering more shirts from her! Amazing customer service!! Thank you again!! 5