SELECT 
  1 
FROM 
  cscart_aprilec_print_temp_designs 
WHERE 
  session_id = '3R8H-EMPP-N6IP-IB6F-O7DA-G6VV-E2BO-2SWG' 
  AND product_id = 30 
  AND expires_at > 1778066756 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00033

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}