SELECT 
  1 
FROM 
  cscart_aprilec_print_temp_designs 
WHERE 
  session_id = 'Z53W-2F93-YF8C-1VD1-13F4-QFA5-0XLH-NGP3' 
  AND product_id = 248 
  AND expires_at > 1777131538 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00034

JSON explain

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