SELECT 
  1 
FROM 
  cscart_june_setupec_print_temp_designs 
WHERE 
  session_id = 'NWMQ-W5Y7-IBDX-JS8N-7PU0-WB1A-TGWL-073L' 
  AND product_id = 240 
  AND expires_at > 1781761251 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00056

JSON explain

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