SELECT 
  1 
FROM 
  cscart_june_setupec_print_temp_designs 
WHERE 
  session_id = '1B63-7Q29-OWQO-TRZI-4LNZ-ZXSI-M48L-A2QA' 
  AND product_id = 23 
  AND expires_at > 1781897643 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00033

JSON explain

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