SELECT 
  1 
FROM 
  cscart_aprilec_print_temp_designs 
WHERE 
  session_id = 'DZ78-Q0Y1-O6V5-LWTR-I4I4-C6DL-FTYZ-TZNG' 
  AND product_id = 187 
  AND expires_at > 1777640766 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00028

JSON explain

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