SELECT 
  cscart_pages.*, 
  cscart_page_descriptions.*, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path 
FROM 
  cscart_pages 
  INNER JOIN cscart_page_descriptions ON cscart_pages.page_id = cscart_page_descriptions.page_id 
  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = cscart_pages.page_id 
  AND cscart_seo_names.type = 'a' 
  AND cscart_seo_names.dispatch = '' 
  AND cscart_seo_names.lang_code = 'en' 
WHERE 
  cscart_pages.page_id = 4 
  AND cscart_page_descriptions.lang_code = 'en' 
  AND (
    cscart_pages.usergroup_ids = '' 
    OR FIND_IN_SET(0, cscart_pages.usergroup_ids) 
    OR FIND_IN_SET(1, cscart_pages.usergroup_ids)
  ) 
  AND cscart_pages.page_type IN ('T', 'L', 'B', 'F')

Query time 0.00094

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.00183779,
    "const_condition": "1",
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_pages",
          "access_type": "const",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["page_id"],
          "ref": ["const"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "cscart_page_descriptions",
          "access_type": "const",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["page_id", "lang_code"],
          "ref": ["const", "const"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "cscart_seo_names",
          "access_type": "ref",
          "possible_keys": ["PRIMARY", "dispatch"],
          "key": "PRIMARY",
          "key_length": "206",
          "used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
          "ref": ["const", "const", "const", "const"],
          "loops": 1,
          "rows": 1,
          "cost": 0.00183779,
          "filtered": 100,
          "attached_condition": "trigcond(cscart_seo_names.`type` = 'a' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'en')"
        }
      }
    ]
  }
}

Result

page_id company_id parent_id id_path status page_type position timestamp usergroup_ids localization new_window use_avail_period avail_from_timestamp avail_till_timestamp facebook_obj_type abt__ut2_microdata_schema_type lang_code page description meta_keywords meta_description page_title link seo_name seo_path
4 0 0 4 A T 0 1208728800 0 0 N 0 0 activity en Delivery Policy <p><span style="font-weight: 400; font-size: 10pt;">We are committed to ensuring a smooth and efficient delivery experience for both sellers and customers. Below, you’ll find our detailed delivery policy outlining procedures, timelines, and expectations.</span></p> <p><span style="font-size: 10pt;"><strong>1. Delivery Partners</strong></span></p> <p><span style="font-size: 10pt;"><span style="font-weight: 400;">Surf partners with trusted logistics providers, including </span><strong>Fastdrop</strong><span style="font-weight: 400;"> and </span><strong>MannaEv</strong><span style="font-weight: 400;">, to ensure reliable and timely deliveries.</span></span></p> <p><span style="font-size: 10pt;"><strong>2. Delivery Costs</strong></span></p> <ul> <li style="font-weight: 400;" aria-level="1"><span style="font-size: 10pt;">Same-Day Delivery<span style="font-weight: 400;">: €4.99</span></span></li> <li style="font-weight: 400;" aria-level="1"><span style="font-size: 10pt;">Next-Day Delivery<span style="font-weight: 400;">: €2.99</span></span></li> </ul> <p><span style="font-weight: 400; font-size: 10pt;">Delivery fees are determined based on the selected delivery option at checkout.</span></p> <p><span style="font-size: 10pt;"><strong>3. Delivery Timeframes</strong></span></p> <p><span style="font-weight: 400; font-size: 10pt;">Delivery timeframes vary depending on the individual seller and the product purchased. Please refer to the product information on the seller’s page to determine if the product is eligible for:</span></p> <ul> <li style="font-weight: 400;" aria-level="1"><span style="font-size: 10pt;">Same-Day Delivery</span></li> <li style="font-weight: 400;" aria-level="1"><span style="font-size: 10pt;">Next-Day Delivery<span style="font-weight: 400;"> (within 24–48 hours)</span></span></li> </ul> <strong style="font-size: 10pt; background-color: var(--tinymce-content-body-bg); color: var(--tinymce-content-body-fg);">4. Order Tracking</strong><br /> <p><span style="font-weight: 400; font-size: 10pt;">Tracking updates will be provided directly by the assigned delivery partner. Customers will be notified via email or SMS with updates on their delivery status.</span></p> <p><span style="font-size: 10pt;"><strong>5. Failed Deliveries</strong></span></p> <p><span style="font-weight: 400; font-size: 10pt;">In the event of a failed delivery:</span></p> <ul> <li style="font-weight: 400;" aria-level="1"><span style="font-size: 10pt;">Next-Day Delivery<span style="font-weight: 400;">: Our delivery partner will attempt re-delivery at an additional cost which will be communicated to the customer.</span></span></li> <li style="font-weight: 400;" aria-level="1"><span style="font-size: 10pt;">Same-Day Delivery<span style="font-weight: 400;">: Re-delivery may not be possible on the same day and could incur additional charges.</span></span></li> </ul> <p><span style="font-weight: 400; font-size: 10pt;">To avoid delays or missed deliveries, please ensure that all address details are accurate and complete at checkout.</span></p> <p><span style="font-size: 10pt;"><strong>6. Returns and Refunds</strong></span></p> <p><span style="font-weight: 400; font-size: 10pt;">For information on returns and refunds, please refer to our Return Policy.</span></p> <p><span style="font-size: 10pt;"><strong>7. Seller-Specific Guidelines</strong></span></p> <ul> <li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400; font-size: 10pt;">Sellers must ensure that products are packaged securely and labeled clearly for efficient delivery.</span></li> <li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400; font-size: 10pt;">Delivery schedules will be coordinated between sellers and our delivery partners.</span></li> </ul> <strong style="font-size: 10pt; background-color: var(--tinymce-content-body-bg); color: var(--tinymce-content-body-fg);">8. Contact Us</strong><br /> <p><span style="font-weight: 400; font-size: 10pt;">For any delivery-related queries, please reach out to:</span></p> <ul> <li style="font-weight: 400;" aria-level="1"><span style="font-size: 10pt;">Email<span style="font-weight: 400;">: support@surf.mt</span></span></li> <li style="font-weight: 400;" aria-level="1"><span style="font-size: 10pt;">Phone<span style="font-weight: 400;">: +356 79650714</span></span></li> </ul> <h3><span style="font-size: 10pt;"><strong>Policy Updates</strong></span></h3> <p><span style="font-weight: 400; font-size: 10pt;">This delivery policy is subject to updates. </span></p> <p><span style="font-weight: 400; font-size: 10pt;">Please review it regularly for the most current information.</span></p> <p><span style="font-weight: 400; font-size: 10pt;"><strong>Effective Date:</strong> 31/03/2025</span></p> delivery-policy