SELECT 
  prf.product_id, 
  prf.facility_id, 
  rf.status, 
  rf.timestamp, 
  rfd.title 
FROM 
  cscart_ec_hb_product_room_facilities as prf 
  LEFT JOIN cscart_ec_hb_room_facilities as rf ON prf.facility_id = rf.facility_id 
  LEFT JOIN cscart_ec_hb_room_facilities_desc as rfd ON rf.facility_id = rfd.facility_id 
WHERE 
  prf.product_id IN (
    211, 
    210, 
    209, 
    67, 
    25, 
    116, 
    213, 
    215, 
    226, 
    200, 
    154, 
    53, 
    52, 
    111, 
    82, 
    84, 
    228, 
    85, 
    88, 
    287, 
    315, 
    26, 
    35, 
    47, 
    81, 
    107, 
    109, 
    91, 
    92, 
    161, 
    188, 
    202, 
    203, 
    34, 
    31, 
    38, 
    80, 
    165, 
    166, 
    86, 
    106, 
    105, 
    247, 
    101, 
    33, 
    32, 
    163, 
    244, 
    212, 
    155, 
    102, 
    55, 
    176, 
    69, 
    138, 
    110, 
    36, 
    206, 
    28, 
    184, 
    183, 
    133, 
    132, 
    125, 
    120, 
    223, 
    225, 
    224, 
    146, 
    147, 
    93, 
    117, 
    219, 
    222, 
    220, 
    221, 
    87, 
    113, 
    139, 
    118, 
    83, 
    157, 
    286, 
    123, 
    174, 
    171, 
    280, 
    282, 
    278, 
    331, 
    335, 
    339, 
    341, 
    355, 
    356, 
    357, 
    358, 
    359, 
    360, 
    361, 
    362, 
    363, 
    364, 
    365, 
    366, 
    367, 
    368, 
    369, 
    370, 
    379, 
    380, 
    381, 
    382, 
    383, 
    384, 
    385, 
    386, 
    387, 
    388, 
    389, 
    390, 
    391, 
    392, 
    393, 
    394, 
    395, 
    396, 
    397
  ) 
  AND rfd.lang_code = 'en' 
  AND rf.status = 'A' 
ORDER BY 
  rfd.title ASC

Query time 0.00092

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "8.21"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "2.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "rf",
            "access_type": "ALL",
            "possible_keys": [
              "PRIMARY"
            ],
            "rows_examined_per_scan": 3,
            "rows_produced_per_join": 1,
            "filtered": "33.33",
            "cost_info": {
              "read_cost": "2.41",
              "eval_cost": "0.20",
              "prefix_cost": "2.61",
              "data_read_per_join": "16"
            },
            "used_columns": [
              "facility_id",
              "status",
              "timestamp"
            ],
            "attached_condition": "((`pankajecarter_systemfour`.`rf`.`status` = 'A') and (`pankajecarter_systemfour`.`rf`.`facility_id` is not null))"
          }
        },
        {
          "table": {
            "table_name": "rfd",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "facility_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "pankajecarter_systemfour.rf.facility_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "1.00",
              "eval_cost": "0.20",
              "prefix_cost": "3.81",
              "data_read_per_join": "784"
            },
            "used_columns": [
              "facility_id",
              "lang_code",
              "title"
            ]
          }
        },
        {
          "table": {
            "table_name": "prf",
            "access_type": "ref",
            "possible_keys": [
              "product_facility",
              "product_id",
              "facility_id"
            ],
            "key": "facility_id",
            "used_key_parts": [
              "facility_id"
            ],
            "key_length": "3",
            "ref": [
              "pankajecarter_systemfour.rf.facility_id"
            ],
            "rows_examined_per_scan": 2,
            "rows_produced_per_join": 2,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "2.00",
              "eval_cost": "0.40",
              "prefix_cost": "6.21",
              "data_read_per_join": "32"
            },
            "used_columns": [
              "product_id",
              "facility_id"
            ],
            "attached_condition": "(`pankajecarter_systemfour`.`prf`.`product_id` in (211,210,209,67,25,116,213,215,226,200,154,53,52,111,82,84,228,85,88,287,315,26,35,47,81,107,109,91,92,161,188,202,203,34,31,38,80,165,166,86,106,105,247,101,33,32,163,244,212,155,102,55,176,69,138,110,36,206,28,184,183,133,132,125,120,223,225,224,146,147,93,117,219,222,220,221,87,113,139,118,83,157,286,123,174,171,280,282,278,331,335,339,341,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397))"
          }
        }
      ]
    }
  }
}