SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ad45f8a213eb70cf9c761c80b675a2d9c4b6dc43e4837bbae7ea24890e25da29' 
  AND token = 'ALsV+4NaP7G4W8Fs5Q90g7r+XV8F5VXHLLJ8Lwnh+aU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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