SELECT 
  COUNT(*) AS total_items 
FROM 
  ushop_booking_and_reservation_booking_info 
  LEFT JOIN ushop_products ON ushop_products.product_id = ushop_booking_and_reservation_booking_info.product_id 
WHERE 
  ushop_booking_and_reservation_booking_info.status = 'A' 
  AND ushop_booking_and_reservation_booking_info.product_id = 296

Query time 0.00114

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "2.62"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "ushop_booking_and_reservation_booking_info",
          "access_type": "ALL",
          "rows_examined_per_scan": 16,
          "rows_produced_per_join": 1,
          "filtered": "6.25",
          "cost_info": {
            "read_cost": "2.17",
            "eval_cost": "0.10",
            "prefix_cost": "2.27",
            "data_read_per_join": "32"
          },
          "used_columns": [
            "product_id",
            "status"
          ],
          "attached_condition": "((`marketplace`.`ushop_booking_and_reservation_booking_info`.`product_id` = 296) and (`marketplace`.`ushop_booking_and_reservation_booking_info`.`status` = 'A'))"
        }
      },
      {
        "table": {
          "table_name": "ushop_products",
          "access_type": "const",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "product_id"
          ],
          "key_length": "3",
          "ref": [
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "0.25",
            "eval_cost": "0.10",
            "prefix_cost": "2.62",
            "data_read_per_join": "4K"
          },
          "used_columns": [
            "product_id"
          ]
        }
      }
    ]
  }
}

Result

total_items
7