SELECT 
  1 
FROM 
  cscart_aprilec_print_temp_designs 
WHERE 
  session_id = '2ZTR-G3SU-O0X4-9X8W-QCGM-90YR-WF6C-PO50' 
  AND product_id = 38 
  AND expires_at > 1777133733 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00032

JSON explain

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