0 newby row is zero
?

Products Ranges

A leading manufacturer of 100% genuine cotton terry towels and hotel bed sheet in Thailand

We Love The King
We Love The King
  Globals Profiler (1,399.89 ms) SQL (121 queries in 30.22 ms) Errors (15, 3!) Toggle Close
$_GET = array (
);

$_POST = array (
);

$_COOKIE = array (
);

$_SESSION = array (
);

$_SERVER = array (
  'SERVER_SOFTWARE' => 'Apache/2',
  'REQUEST_URI' => '/en/product/',
  'REDIRECT_UNIQUE_ID' => 'ZzOlT6JFn11e5qC2bL9sBAAAAAc',
  'REDIRECT_HTTPS' => 'on',
  'REDIRECT_SSL_TLS_SNI' => 'www.maipromthai.com',
  'REDIRECT_STATUS' => '200',
  'UNIQUE_ID' => 'ZzOlT6JFn11e5qC2bL9sBAAAAAc',
  'HTTPS' => 'on',
  'SSL_TLS_SNI' => 'www.maipromthai.com',
  'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
  'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
  'HTTP_IF_MODIFIED_SINCE' => 'Mon, 15 Jul 2024 17:13:39 GMT',
  'HTTP_ACCEPT_ENCODING' => 'br,gzip',
  'HTTP_HOST' => 'www.maipromthai.com',
  'HTTP_CONNECTION' => 'Keep-Alive',
  'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
  'SERVER_SIGNATURE' => '',
  'SERVER_NAME' => 'www.maipromthai.com',
  'SERVER_ADDR' => '27.254.44.184',
  'SERVER_PORT' => '443',
  'REMOTE_ADDR' => '44.211.24.175',
  'DOCUMENT_ROOT' => '/home/maipromt/domains/maipromthai.com/private_html',
  'REQUEST_SCHEME' => 'https',
  'CONTEXT_PREFIX' => '',
  'CONTEXT_DOCUMENT_ROOT' => '/home/maipromt/domains/maipromthai.com/private_html',
  'SERVER_ADMIN' => 'webmaster@maipromthai.com',
  'SCRIPT_FILENAME' => '/home/maipromt/domains/maipromthai.com/private_html/index.php',
  'REMOTE_PORT' => '34866',
  'REDIRECT_URL' => '/en/product/',
  'GATEWAY_INTERFACE' => 'CGI/1.1',
  'SERVER_PROTOCOL' => 'HTTP/1.1',
  'REQUEST_METHOD' => 'GET',
  'QUERY_STRING' => '',
  'SCRIPT_NAME' => '/index.php',
  'PHP_SELF' => '/index.php',
  'REQUEST_TIME_FLOAT' => 1731437903.54527,
  'REQUEST_TIME' => 1731437903,
);

Profiler Initiaded 0.0000 ms 18684 kB
Profiler Noise 0.0062 ms 18684 kB
Profiler Stopped 1,399.8902 ms 66419 kB
0.2880 [ms]
SELECT option_value FROM wp_options WHERE option_name = '_wpml_inactive' LIMIT 1;
0.1881 [ms]
  SELECT option_value
									   FROM wp_options
									   WHERE option_name = 'home'
									   LIMIT 1;
0.1910 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'active_sitewide_plugins' LIMIT 1;
0.4151 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'updraft_restore_in_progress' LIMIT 1;
0.0780 [ms]
SELECT code, locale FROM wp_icl_locale_map;
0.2711 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'WpFastestCacheCDN' LIMIT 1;
0.2091 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'WpFastestCacheExclude' LIMIT 1;
0.2840 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'as_has_wp_comment_logs' LIMIT 1;
0.3550 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'redirection_database_stage' LIMIT 1;
0.1569 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'revslider_change_database' LIMIT 1;
0.6931 [ms]
SHOW FULL COLUMNS FROM `wp_options`;
0.2229 [ms]
UPDATE `wp_options` SET `option_value` = '1' WHERE `option_name` = 'rs_tables_created';
0.1600 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'wpforms_settings' LIMIT 1;
0.5541 [ms]
SELECT option_name, option_value FROM wp_options WHERE option_name LIKE 'widget\_%';
0.9460 [ms]

					SELECT DISTINCT 
						s.id,
						s.name,
						s.context,
						st.status,
						s.gettext_context, 
						st.value AS tra,
						s.value AS orig
					FROM wp_icl_string_pages sp
					INNER JOIN wp_icl_string_urls su
						ON su.id = sp.url_id
					INNER JOIN wp_icl_strings s
						ON s.id = sp.string_id
					LEFT JOIN wp_icl_string_translations st
						ON s.id=st.string_id
							AND st.language=su.language
							AND s.language!=su.language
					WHERE (su.language='en' and su.url='(.?.+?)(?:/([0-9]+))?/?$') or (su.language='en' and su.url IS NULL)
					;
0.0899 [ms]
SELECT  t.*, tt.* FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('nav_menu') ORDER BY t.name
ASC ;
0.0429 [ms]
SELECT term_id, meta_key, meta_value FROM wp_termmeta WHERE term_id IN (3,5) ORDER BY meta_id ASC;
0.0482 [ms]
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
				    FROM wp_icl_translations t
				JOIN wp_term_taxonomy tax
					ON t.element_id = tax.term_taxonomy_id
						AND t.element_type = CONCAT('tax_', tax.taxonomy)
				    JOIN wp_icl_translations tridt
				      ON tridt.element_type = t.element_type
				      AND tridt.trid = t.trid
				    WHERE  tridt.trid = (SELECT trid FROM wp_icl_translations t
				JOIN wp_term_taxonomy tax
					ON t.element_id = tax.term_taxonomy_id
						AND t.element_type = CONCAT('tax_', tax.taxonomy) WHERE element_id = 3 LIMIT 1);
0.0720 [ms]
SELECT  t.*, tt.* FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.term_taxonomy_id = 5  LIMIT 1;
0.5920 [ms]
SHOW COLUMNS FROM wp_revslider_sliders LIKE 'type';
0.0799 [ms]
SELECT * FROM wp_revslider_sliders WHERE type != 'template' ORDER BY title ASC;
0.0391 [ms]
SELECT * FROM wp_layerslider WHERE flag_hidden = '0' AND flag_deleted = '0' ORDER BY name ASC;
0.2680 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'revSliderAsTheme' LIMIT 1;
0.2270 [ms]
SELECT option_value FROM wp_options WHERE option_name = '_transient_timeout_wpml_language_switcher_template_objects' LIMIT 1;
0.1512 [ms]
SELECT option_value FROM wp_options WHERE option_name = '_transient_wpml_language_switcher_template_objects' LIMIT 1;
0.2332 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'wpseo-premium-redirects-base' LIMIT 1;
0.1781 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'can_compress_scripts' LIMIT 1;
0.1590 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'wpforms_debug' LIMIT 1;
0.1841 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'wpb_js_less_version' LIMIT 1;
0.0899 [ms]
SELECT  t.*, tt.* FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id LEFT JOIN wp_icl_translations icl_t
                                    ON icl_t.element_id = tt.term_taxonomy_id
                                        AND icl_t.element_type IN ('tax_category') WHERE tt.taxonomy IN ('category') AND ( ( icl_t.element_type IN
('tax_category')  AND icl_t.language_code = 'en'  )
                                    OR icl_t.element_type NOT IN ('tax_category') OR icl_t.element_type IS NULL )  ORDER BY t.name ASC ;
0.0350 [ms]
SELECT term_id, meta_key, meta_value FROM wp_termmeta WHERE term_id IN (6,2) ORDER BY meta_id ASC;
0.0410 [ms]
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
				    FROM wp_icl_translations t
				JOIN wp_term_taxonomy tax
					ON t.element_id = tax.term_taxonomy_id
						AND t.element_type = CONCAT('tax_', tax.taxonomy)
				    JOIN wp_icl_translations tridt
				      ON tridt.element_type = t.element_type
				      AND tridt.trid = t.trid
				    WHERE  tridt.trid = (SELECT trid FROM wp_icl_translations t
				JOIN wp_term_taxonomy tax
					ON t.element_id = tax.term_taxonomy_id
						AND t.element_type = CONCAT('tax_', tax.taxonomy) WHERE element_id = 6 LIMIT 1);
0.2589 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'vc_automapped_shortcodes' LIMIT 1;
0.1910 [ms]
SELECT option_value FROM wp_options WHERE option_name = '_transient_timeout_doing_cron' LIMIT 1;
0.1578 [ms]
SELECT option_value FROM wp_options WHERE option_name = '_transient_doing_cron' LIMIT 1;
2.5232 [ms]
INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES ('_transient_doing_cron', '1731437904.1680710315704345703125', 'yes') ON
DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`);
0.4680 [ms]
SELECT a.action_id FROM wp_actionscheduler_actions a WHERE a.hook='wpforms_process_entry_emails_meta_cleanup' AND a.status='in-progress' ORDER BY
scheduled_date_gmt DESC LIMIT 1;
0.2599 [ms]
SELECT a.action_id FROM wp_actionscheduler_actions a WHERE a.hook='wpforms_process_entry_emails_meta_cleanup' AND a.status='pending' ORDER BY
scheduled_date_gmt ASC LIMIT 1;
0.2589 [ms]
SELECT a.*, g.slug AS `group` FROM wp_actionscheduler_actions a LEFT JOIN wp_actionscheduler_groups g ON a.group_id=g.group_id WHERE a.action_id=3392;
0.4678 [ms]
SELECT * FROM wp_redirection_items WHERE match_url='/en/product' OR match_url='regex';
0.1092 [ms]
SELECT * FROM wp_users WHERE ID = '1' LIMIT 1;
0.4930 [ms]

		SELECT ID, post_name, post_parent, post_type
		FROM wp_posts
		WHERE post_name IN ('product')
		AND post_type IN ('page','attachment')
	;
0.1922 [ms]
SELECT * FROM wp_posts WHERE ID = 399 LIMIT 1;
0.4721 [ms]
	SELECT element_id, language_code
						FROM wp_icl_translations
						WHERE trid =
							(SELECT trid
							 FROM wp_icl_translations
							 WHERE element_type = 'post_page'
							 AND element_id = (SELECT option_value
											   FROM wp_options
											   WHERE option_name='page_for_posts'
											   LIMIT 1))
						;
0.6211 [ms]

									 SELECT post_type, post_name
									 FROM wp_posts p
									 LEFT JOIN wp_icl_translations t
										ON t.element_id = p.ID
										 	AND CONCAT('post_', p.post_type) = t.element_type
									 		AND p.post_type  IN ('post','page','wp_block','slide' ) 
									 WHERE post_name = 'product'  AND post_type IN ('post', 'page', 'attachment', 'uig_image', 'slide')
									 	AND ( post_status = 'publish'
									 	    OR ( post_type = 'attachment'
									 	         AND post_status = 'inherit' ) )
									 	ORDER BY CASE t.language_code WHEN 'en' THEN 3  WHEN 'th' THEN 1  ELSE 0 END DESC  ,  CASE p.post_type  WHEN 'page' THEN 2  WHEN 'post'
THEN 1  ELSE 0 END DESC 
								     LIMIT 1;
0.2980 [ms]

				SELECT ID
				 FROM wp_posts p
	             JOIN wp_icl_translations t
					ON p.ID = t.element_id
						AND t.element_type = CONCAT('post_', p.post_type )  WHERE p.post_type = 'page' AND  p.post_name = 'product'
				ORDER BY p.post_parent = 0 DESC
				;
0.5529 [ms]
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
				    FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type)
				    JOIN wp_icl_translations tridt
				      ON tridt.element_type = t.element_type
				      AND tridt.trid = t.trid
				    WHERE  tridt.trid = (SELECT trid FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 399 LIMIT 1);
0.0401 [ms]

				SELECT ID
				 FROM wp_posts p
	             JOIN wp_icl_translations t
					ON p.ID = t.element_id
						AND t.element_type = CONCAT('post_', p.post_type )  WHERE p.post_type = 'page' AND  p.post_name = 'product'
				ORDER BY p.post_parent = 0 DESC
				;
0.4079 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (399) ORDER BY meta_id ASC;
0.4890 [ms]
SELECT   wp_posts.* FROM wp_posts  JOIN wp_icl_translations t
							ON wp_posts.ID = t.element_id
								AND t.element_type = CONCAT('post_', wp_posts.post_type)  WHERE 1=1  AND (wp_posts.ID = '399') AND wp_posts.post_type = 'page' AND ( (
t.language_code = 'en' AND wp_posts.post_type  IN ('post','page','wp_block','slide' )  ) OR wp_posts.post_type  NOT  IN
('post','page','wp_block','slide' )  )  ORDER BY wp_posts.post_date DESC ;
0.4439 [ms]
	SELECT element_id, language_code
						FROM wp_icl_translations
						WHERE trid =
							(SELECT trid
							 FROM wp_icl_translations
							 WHERE element_type = 'post_page'
							 AND element_id = (SELECT option_value
											   FROM wp_options
											   WHERE option_name='page_on_front'
											   LIMIT 1))
						;
0.1810 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'wpb_js_use_custom' LIMIT 1;
0.2642 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'ls_conditional_script_loading' LIMIT 1;
0.1142 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'ls_include_at_footer' LIMIT 1;
0.1290 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'ls_use_custom_jquery' LIMIT 1;
0.1581 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'layerslider_custom_capability' LIMIT 1;
0.1061 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'ls_gsap_sandboxing' LIMIT 1;
0.1040 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'ls-google-fonts' LIMIT 1;
0.1040 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'ls-google-font-scripts' LIMIT 1;
0.1850 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'revslider-static-css' LIMIT 1;
0.5419 [ms]

				SELECT t.translation_id, t.language_code, t.element_id, t.source_language_code, t.element_type, NULLIF(t.source_language_code, '') IS NULL AS
original 
				, p.post_title, p.post_status
				FROM wp_icl_translations t
					  LEFT JOIN wp_posts p ON t.element_id=p.ID
				WHERE 1  AND ( p.post_status = 'publish' OR p.post_status = 'pending'  )   AND t.trid=54 
				
			;
0.1130 [ms]
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
				    FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type)
				    JOIN wp_icl_translations tridt
				      ON tridt.element_type = t.element_type
				      AND tridt.trid = t.trid
				    WHERE  tridt.trid = (SELECT trid FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 142 LIMIT 1);
0.3362 [ms]
SELECT * FROM wp_posts WHERE ID = 54 LIMIT 1;
0.0491 [ms]
SELECT * FROM wp_users WHERE ID = '6' LIMIT 1;
0.0520 [ms]
SELECT user_id, meta_key, meta_value FROM wp_usermeta WHERE user_id IN (6) ORDER BY umeta_id ASC;
0.0858 [ms]
SELECT code, tag FROM wp_icl_languages;
0.1111 [ms]
SELECT * FROM wp_posts WHERE ID = 854 LIMIT 1;
0.0501 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (854) ORDER BY meta_id ASC;
0.6580 [ms]
SELECT * FROM wp_posts  WHERE (post_type = 'page' AND post_status = 'publish')    AND post_parent = 399   ORDER BY wp_posts.post_title ASC LIMIT 0,1;
0.4849 [ms]

								SELECT p.ID FROM wp_posts p
								JOIN wp_icl_translations t ON p.ID = t.element_id
								WHERE t.element_type='post_page' AND p.post_type='page' AND t.language_code <> 'en'
								;
0.2589 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'wpb_js_not_responsive_css' LIMIT 1;
0.1860 [ms]
SELECT option_value FROM wp_options WHERE option_name = '_otgs_twig_cache_disabled' LIMIT 1;
0.0951 [ms]
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2017/07/logo-new-2.svg';;
0.0410 [ms]
SELECT * FROM wp_posts WHERE ID = 476 LIMIT 1;
0.0310 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (476) ORDER BY meta_id ASC;
0.0629 [ms]
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
				    FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type)
				    JOIN wp_icl_translations tridt
				      ON tridt.element_type = t.element_type
				      AND tridt.trid = t.trid
				    WHERE  tridt.trid = (SELECT trid FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 476 LIMIT 1);
0.5960 [ms]
SHOW FULL COLUMNS FROM `wp_posts`;
0.0381 [ms]
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2017/07/logo-new-02-แก้ไข-01.svg';;
0.0379 [ms]
SELECT * FROM wp_posts WHERE ID = 478 LIMIT 1;
0.0429 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (478) ORDER BY meta_id ASC;
0.0789 [ms]
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
				    FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type)
				    JOIN wp_icl_translations tridt
				      ON tridt.element_type = t.element_type
				      AND tridt.trid = t.trid
				    WHERE  tridt.trid = (SELECT trid FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 478 LIMIT 1);
0.0660 [ms]
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2017/07/logo-new-2.svg';;
0.0560 [ms]
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2017/07/logo-new-2.svg';;
0.0551 [ms]
	SELECT t.element_id, tax.term_id, tax.taxonomy
													 FROM wp_icl_translations t
				JOIN wp_term_taxonomy tax
					ON t.element_id = tax.term_taxonomy_id
						AND t.element_type = CONCAT('tax_', tax.taxonomy)
													 JOIN wp_terms terms
													  ON terms.term_id = tax.term_id
													 WHERE tax.term_id != tax.term_taxonomy_id;
0.0551 [ms]
SELECT tr.object_id FROM wp_term_relationships AS tr INNER JOIN wp_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy
IN ('nav_menu') AND tt.term_id IN ('5') ORDER BY tr.object_id ASC;
0.0582 [ms]
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
				    FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type)
				    JOIN wp_icl_translations tridt
				      ON tridt.element_type = t.element_type
				      AND tridt.trid = t.trid
				    WHERE  tridt.element_id IN (154,155,156,219,405,834,835,836,965,1121);
0.0501 [ms]
SELECT   wp_posts.* FROM wp_posts  WHERE 1=1  AND wp_posts.ID IN (154,155,156,219,405,834,835,836,965,1121) AND wp_posts.post_type = 'nav_menu_item'
AND ((wp_posts.post_status = 'publish'))  ORDER BY wp_posts.menu_order ASC ;
0.0482 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (154,155,1121,219,405,834,835,836,965,156) ORDER BY meta_id ASC;
0.5610 [ms]
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
				    FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type)
				    JOIN wp_icl_translations tridt
				      ON tridt.element_type = t.element_type
				      AND tridt.trid = t.trid
				    WHERE  tridt.element_id IN (148,1115,217,577,561,429,961,152);
0.0641 [ms]
SELECT   wp_posts.* FROM wp_posts  WHERE 1=1  AND wp_posts.ID IN (142,148,1115,217,399,577,561,429,961,152) AND wp_posts.post_type = 'page' AND
((wp_posts.post_status = 'publish'))  ORDER BY wp_posts.post_date DESC ;
1.1909 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (1115,961,577,561,429,217,152,148,142) ORDER BY meta_id ASC;
0.0560 [ms]

				SELECT t.translation_id, t.language_code, t.element_id, t.source_language_code, t.element_type, NULLIF(t.source_language_code, '') IS NULL AS
original 
				, tm.name, tm.term_id, COUNT(tr.object_id) AS instances
				FROM wp_icl_translations t
					  LEFT JOIN wp_term_taxonomy tt ON t.element_id=tt.term_taxonomy_id
							  LEFT JOIN wp_terms tm ON tt.term_id = tm.term_id
							  LEFT JOIN wp_term_relationships tr ON tr.term_taxonomy_id=tt.term_taxonomy_id
							  
				WHERE 1  AND t.trid=140 
				GROUP BY tm.term_id
			;
1.0750 [ms]
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/07/ผ้าขนหนู-eng.jpg';;
0.1540 [ms]
SELECT * FROM wp_posts WHERE ID = 954 LIMIT 1;
0.3521 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (954) ORDER BY meta_id ASC;
0.3579 [ms]
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
				    FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type)
				    JOIN wp_icl_translations tridt
				      ON tridt.element_type = t.element_type
				      AND tridt.trid = t.trid
				    WHERE  tridt.trid = (SELECT trid FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 954 LIMIT 1);
0.0508 [ms]
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/07/ผ้าขนหนู-eng.jpg';;
0.0610 [ms]
SELECT ID FROM wp_posts WHERE guid='http://www.maipromthai.com/wp-content/uploads/2020/07/ผ้าขนหนู-eng.jpg';;
0.5412 [ms]
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2017/06/colored-Bed-sheets-2.jpg';;
0.2129 [ms]
SELECT * FROM wp_posts WHERE ID = 702 LIMIT 1;
0.9160 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (702) ORDER BY meta_id ASC;
0.5100 [ms]
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
				    FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type)
				    JOIN wp_icl_translations tridt
				      ON tridt.element_type = t.element_type
				      AND tridt.trid = t.trid
				    WHERE  tridt.trid = (SELECT trid FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 702 LIMIT 1);
0.0758 [ms]
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2017/06/colored-Bed-sheets-2.jpg';;
0.0751 [ms]
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2017/06/colored-Bed-sheets-2.jpg';;
0.6080 [ms]
SELECT ID FROM wp_posts WHERE
guid='http://www.maipromthai.com/wp-content/uploads/2020/07/อุปกรณ์โรงแรมอื่นๆ-eng.jpg';;
0.2019 [ms]
SELECT * FROM wp_posts WHERE ID = 956 LIMIT 1;
0.2010 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (956) ORDER BY meta_id ASC;
0.3169 [ms]
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
				    FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type)
				    JOIN wp_icl_translations tridt
				      ON tridt.element_type = t.element_type
				      AND tridt.trid = t.trid
				    WHERE  tridt.trid = (SELECT trid FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 956 LIMIT 1);
0.0391 [ms]
SELECT ID FROM wp_posts WHERE
guid='http://www.maipromthai.com/wp-content/uploads/2020/07/อุปกรณ์โรงแรมอื่นๆ-eng.jpg';;
0.0451 [ms]
SELECT ID FROM wp_posts WHERE
guid='http://www.maipromthai.com/wp-content/uploads/2020/07/อุปกรณ์โรงแรมอื่นๆ-eng.jpg';;
0.0529 [ms]
SELECT COUNT(id) FROM wp_icl_strings WHERE context = 'Widgets';
0.0839 [ms]

			SELECT
				s.id,
				st.status,
				s.domain_name_context_md5 AS ctx ,
				st.value AS translated,
				s.value AS original,
				s.gettext_context
			FROM wp_icl_strings s
			LEFT JOIN wp_icl_string_translations st
				ON s.id=st.string_id
					AND st.language='en'
					AND s.language!='en'
			WHERE s.context = 'Widgets'
			 LIMIT 1000 OFFSET 0;
0.0510 [ms]
SELECT   wp_posts.ID FROM wp_posts  JOIN wp_icl_translations t
							ON wp_posts.ID = t.element_id
								AND t.element_type = CONCAT('post_', wp_posts.post_type)  WHERE 1=1  AND wp_posts.post_type = 'post' AND ((wp_posts.post_status = 'publish'))
AND ( ( t.language_code = 'en' AND wp_posts.post_type  IN ('post','page','wp_block','slide' )  ) OR wp_posts.post_type  NOT  IN
('post','page','wp_block','slide' )  )  ORDER BY wp_posts.post_date DESC LIMIT 0, 5;
0.0520 [ms]
SELECT wp_posts.* FROM wp_posts WHERE ID IN (205,190);
0.0460 [ms]
SELECT  t.*, tt.*, tr.object_id FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr
ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category', 'post_tag', 'post_format') AND tr.object_id IN (190, 205) ORDER BY
t.name ASC ;
0.0551 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (190,205) ORDER BY meta_id ASC;
0.0520 [ms]
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
				    FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type)
				    JOIN wp_icl_translations tridt
				      ON tridt.element_type = t.element_type
				      AND tridt.trid = t.trid
				    WHERE  tridt.element_id IN (205,190);
0.1159 [ms]
SELECT ID FROM wp_posts WHERE guid='http://maipromthai.com/wp-content/uploads/2017/07/เช็คอิน..png';;
0.0501 [ms]
SELECT * FROM wp_posts WHERE ID = 463 LIMIT 1;
0.0291 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (463) ORDER BY meta_id ASC;
0.0372 [ms]
SELECT t.translation_id, t.element_id, t.language_code, t.source_language_code, t.trid, t.element_type
				    FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type)
				    JOIN wp_icl_translations tridt
				      ON tridt.element_type = t.element_type
				      AND tridt.trid = t.trid
				    WHERE  tridt.trid = (SELECT trid FROM wp_icl_translations t
				JOIN wp_posts p
					ON t.element_id = p.ID
						AND t.element_type = CONCAT('post_', p.post_type) WHERE element_id = 463 LIMIT 1);
Deprecated Function create_function() is deprecated on line 49 in file /home/maipromt/domains/maipromthai.com/public_html/wp-content/plugins/my-first-plugin/my-first-plugin.php
Warning "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? on line 2722 in file /home/maipromt/domains/maipromthai.com/public_html/wp-content/plugins/revslider/includes/operations.class.php
Warning "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? on line 2726 in file /home/maipromt/domains/maipromthai.com/public_html/wp-content/plugins/revslider/includes/operations.class.php
Warning "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? on line 3624 in file /home/maipromt/domains/maipromthai.com/public_html/wp-content/plugins/revslider/includes/output.class.php
Deprecated Function create_function() is deprecated on line 258 in file /home/maipromt/domains/maipromthai.com/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php
Deprecated Function get_magic_quotes_gpc() is deprecated on line 24 in file /home/maipromt/domains/maipromthai.com/public_html/wp-content/plugins/wpml-string-translation/inc/functions.php
Deprecated Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` on line 644 in file /home/maipromt/domains/maipromthai.com/public_html/wp-content/plugins/js_composer/include/classes/editors/class-vc-frontend-editor.php
Deprecated The each() function is deprecated. This message will be suppressed on further calls on line 111 in file /home/maipromt/domains/maipromthai.com/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php
Notice Undefined variable: user_email on line 183 in file /home/maipromt/domains/maipromthai.com/public_html/wp-content/themes/betheme/functions.php
Notice Undefined variable: user_email on line 184 in file /home/maipromt/domains/maipromthai.com/public_html/wp-content/themes/betheme/functions.php
Notice Undefined variable: user_password on line 184 in file /home/maipromt/domains/maipromthai.com/public_html/wp-content/themes/betheme/functions.php
Notice Undefined variable: user_email on line 186 in file /home/maipromt/domains/maipromthai.com/public_html/wp-content/themes/betheme/functions.php
Notice Object of class WP_Error could not be converted to int on line 1936 in file /home/maipromt/domains/maipromthai.com/public_html/wp-includes/user.php
Notice Undefined property: WP_Error::$ID on line 170 in file /home/maipromt/domains/maipromthai.com/public_html/wp-includes/class-wp-user.php
Unknown wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (2) for the number of arguments passed (3). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.) on line 5167 in file /home/maipromt/domains/maipromthai.com/public_html/wp-includes/functions.php