SELECT 
  object_id 
FROM 
  tconnect_settings_objects 
  LEFT JOIN tconnect_settings_sections ON tconnect_settings_objects.section_id = tconnect_settings_sections.section_id 
WHERE 
  tconnect_settings_objects.name = 'default_image_previewer' 
  AND tconnect_settings_sections.name = 'Appearance'

Query time 0.00398

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.006921132,
    "nested_loop": [
      {
        "table": {
          "table_name": "tconnect_settings_objects",
          "access_type": "ref",
          "possible_keys": ["name", "section_id"],
          "key": "name",
          "key_length": "386",
          "used_key_parts": ["name"],
          "ref": ["const"],
          "loops": 1,
          "rows": 2,
          "cost": 0.00325828,
          "filtered": 100,
          "index_condition": "tconnect_settings_objects.`name` = 'default_image_previewer'"
        }
      },
      {
        "table": {
          "table_name": "tconnect_settings_sections",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "4",
          "used_key_parts": ["section_id"],
          "ref": ["tconnect.tconnect_settings_objects.section_id"],
          "loops": 2,
          "rows": 1,
          "cost": 0.003662852,
          "filtered": 100,
          "attached_condition": "tconnect_settings_sections.`name` = 'Appearance'"
        }
      }
    ]
  }
}

Result

object_id
50