SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '865f947c9af0d29d4c21d28ab42f42bb5eb05fd4eab7732841eba2340033f794' 
  AND token = 'KPFo4slSLTs0RZ85SA4W50uFP3zmtF/yjKHgCxppA70=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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